Diff: Help/RandomPagePlugin

Note: You are viewing an old revision of this page. View the current version.

Differences between version 2 and previous revision of Help/RandomPagePlugin.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 2 Last edited on 22 May 2014 3:01 by harold Revert
Older page: version 1 Last edited on 17 January 2022 18:35 by harold Revert
@@ -15,31 +15,27 @@
 ! Description 
 ! Default value 
 |- 
 | **numpages** 
-| Number of pages to list. The number of random pages should be between 1 and 20. If greater, 20 will be used
+| Number of pages to list. 
 | 20 
 |- 
 | **redirect** 
-| Boolean. If true, do not display random page link, redirect to random page.  
-| false  
-|-  
-| **hidename**  
-| Boolean. If true, hide name (only for numpages=1)  
-| false  
+| Do not display random page link, redirect to random page.  
+| empty  
 |- 
 | **exclude** 
 | Pages to exclude from random 
-| RandomPage,HomePage 
+| RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges  
 |} 
  
 == Example == 
  
 {{{ 
-<<RandomPage numpages=10>> 
+<<RandomPage numpages=10 >> 
 }}} 
  
-<<RandomPage numpages=10>> 
+<<RandomPage numpages=10 >> 
  
 == Author == 
 * [[Help:Reini Urban|Reini Urban]] 
  

version 2

The RandomPage plugin displays a list of randomly chosen pages or redirects to a random page.

Usage

<<RandomPage arguments>>

Arguments

All PageList arguments, plus the following ones:

Argument

Description

Default value

numpages

Number of pages to list.

20

redirect

Do not display random page link, redirect to random page.

empty

exclude

Pages to exclude from random

RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges

Example

<<RandomPage numpages=10 >>
Plugin RandomPage disabled. Plugin not run: not in browse mode
<?plugin RandomPage numpages=10 ?>

Author

See Also