Diff: Help/MostPopularPlugin

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

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

Other diffs: Previous Major Revision, Previous Author

Newer page: version 4 Last edited on 22 May 2014 3:01 by harold Revert
Older page: version 3 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**  
+| 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 4

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

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 680155
RecenteVeranderingen 76971
CalendarPlugin 74862
UserContribs 57409
PluginCalendrier 51465
HomePage 44607
FullRecentChanges 41210
RelatedChanges 38791
MyRecentChanges 34702
32929

Author

See Also