Diff: Help/MostPopularPlugin

Differences between version 6 and previous revision of Help/MostPopularPlugin.

Other diffs: Previous Major 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
PhpWikiManual 678556
RecenteVeranderingen 76549
CalendarPlugin 74842
UserContribs 57406
PluginCalendrier 51463
HomePage 44237
FullRecentChanges 41206
RelatedChanges 38787
MyRecentChanges 34700
32789

Author

See Also