Diff: Help/MostPopularPlugin

Differences between current version 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
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 686313
RecenteVeranderingen 78219
CalendarPlugin 74975
UserContribs 57414
PluginCalendrier 51475
HomePage 44833
FullRecentChanges 41215
RelatedChanges 38795
MyRecentChanges 34708
33388

Author

See Also