Most Popular Plugin

Almost contrary to its name, the MostPopularPlugin, another NeWikiPlugin, is not the staking any claim as the most popular plugin, instead it provides a list of the most popular pages (ranked by hit count) on the wiki.

This plugin relies on the JSPWiki events API.

Most of the plugin's work is done by the MostPopularListener class, which listens for and counts WikiPageEvent.PAGE_DELIVERED events, and also manages the serialization and deserialization of its page cache between sessions. The listener is a singleton-per-WikiEngine.

Parameters#

To Do#

Test #

[{MostPopular max='5'}]

no pages.