Diff: Help/MostPopularPlugin

Differences between current version 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
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>  

current version

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 652648
CalendarPlugin 74522
RecenteVeranderingen 70472
UserContribs 55947
HomePage 43068
FullRecentChanges 41005
RelatedChanges 38731
MyRecentChanges 34684
Help/CalendarPlugin 31413
29925

Author

See Also