Diff: Help/MostPopularPlugin

Differences between version 6 and predecessor to the previous major change of Help/MostPopularPlugin.

Other diffs: Previous Revision, Previous Author

Newer page: version 6 Last edited on 17 January 2022 3:00 by harold Revert
Older page: version 5 Last edited on 9 September 2007 0:16 by harold Revert
@@ -1,27 +1,52 @@
-_short description_  
+The **~MostPopular** [[Help:WikiPlugin|plugin]] will display the pages of wiki that  
+have the most (or least) number of hits.  
  
-! Usage  
-<verbatim>  
- <?plugin MostPopular ? >  
-</verbatim>  
+== Usage ==  
+{{{  
+<< MostPopular arguments> >  
+}}}  
  
-! Arguments 
+== Arguments ==  
  
-page _(default : current pagename)_ :  
- The page to execute upon.  
+All [[Help :PageList|PageList]] arguments, plus the following ones
  
-! Example  
+{| class="bordered"  
+|-  
+ ! Argument  
+! Description  
+! Default value  
+|-  
+| **limit**  
+| The number of pages to display. If the limit is negative, the least popular pages will be displayed. If the limit is 0, all visited pages will be displayed.  
+| 20  
+|-  
+| **sortby**  
+| Page sorting order  
+| ~-hits  
+|-  
+| **noheader**  
+| Boolean. If true, do not display header.  
+| false  
+|-  
+| **info**  
+| List of columns to display  
+| hits  
+|}  
  
-<verbatim>  
-<?plugin MostPopular ?>  
-</verbatim>  
+== Example ==  
  
-<?plugin MostPopular ?
+{{{  
+< <MostPopular limit=10> >  
+}}}  
  
-! Author  
-PhpWiki:ReiniUrban  
+<<MostPopular limit=10>>  
  
-! See Also  
+== Author ==  
+* [[Help:Reini Urban|Reini Urban]]  
  
+== See Also ==  
+  
+<noinclude>  
 ---- 
-PhpWikiDocumentation Help:WikiPlugin  
+[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
+</noinclude>  

version 6

The MostPopular plugin will display the pages of wiki that have the most (or least) number of hits.

Usage

<<MostPopular arguments>>

Arguments

All PageList arguments, plus the following ones:

Argument

Description

Default value

limit

The number of pages to display. If the limit is negative, the least popular pages will be displayed. If the limit is 0, all visited pages will be displayed.

20

sortby

Page sorting order

-hits

noheader

Boolean. If true, do not display header.

false

info

List of columns to display

hits

Example

<<MostPopular limit=10>>
The 10 most popular pages of this wiki:
|<<   << - 1 / 1 - >>   >>|
|<<   << - 1 / 1 - >>   >>|
Page Name. HitsClick to reverse sort order
RecenteVeranderingen 192587
CambiosRecientes 145530
117121
PluginCalendrier 110137
108720
UserContribs 90666
CalendarPlugin 82385
70649
69876
MyRecentChanges 62444

Author

See Also