Extension:TopTenPages

Function
Shows the most popular Pages within an article. I use it on the main page of our Company-Wiki. Assumes "10" if no parameter is given.

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

It 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: ==Beliebteste Seiten im Intranet== 10 mehr >>

The image was taken from a German installation with monobook-skin. Since the extension recycles the original wiki-code, language within the extension-controlled-content will change according to the interface-language chosen.

Installation
Copy to you Extensions Directory.

To activate the extension, include it from your LocalSettings.php with: include("extensions/TopTenPages.php");

The Extension consists mostly of the class QueryPage out of includes/QueryPage.php since I lacked knowledge and time to access the includes/QueryPage.php directly. Hints appreciated.

Disclaimer
For use in Low-Risk-Environment. Use at own risk.