Extension:TopTenPages

The TopTenPages extension allows to display the most popular pages of the wiki on a page.

Usage
[NUMBEROFPAGES] Or:


 * OFFSET
 * Format: Number
 * Default:  or
 * How many of the most popular Pages to ignore. (e.g.  to ignore the main page)


 * NUMBEROFPAGES
 * Format: Number
 * Default:
 * Maximum number of pages to be listed.

Examples
To show 10 most popular Pages:  To show 5 most popular Pages: 5 To omit the most popular page(s): 

This Extension makes use of the Wiki-Builtin-Function Special:Popularpages with similar functionality (which is disabled in some installations).

Image description
The Image was created by this code: ==Most visited pages== 10 mehr >>

Installation
Copy /Code/ files to your extensions directory.

To install the extension, add to your LocalSettings.php: require_once("$IP/extensions/TopTenPages.php");

Configuration

 * $wgttpAlwaysStartAtOne: By default, if the offset is set, the numbering will start based on the offset. If you specifiy offset=1 as in the example above your list will start with 2.  ie. "2 The art of cooking" instead of "1 The art of cooking". This is probably not the desired behavior. Set this variable to true to avoid this.

Sites that use TopTenPages

 * Finanpedia
 * NeBelEx Wiki
 * Trail WIKI - Collaborative hiking website for trails throughout the United States and Canada
 * HowIW
 * Cooking Software Australia
 * Teapedia - The Tea Encyclopedia