Loading...
 
Skip to main content

Module most_commented

This Module displays the most commented objects of a certain type.

Usage

To use module most_commented in a wiki page:

Copy to clipboard
{module module="most_commented" objectType="blog" objectLanguageFilter="en"}


Where: Display the most commented objects of a certain type.

Go to the source code

Parameters Accepted Values Description Default Since
objectLanguageFilter If set to a RFC1766 language tag, restricts the objects considered to those in the specified language.
objectType Type of objects to consider. Possible values: wiki (Wiki pages), blog (blog posts), article (articles). Default: wiki


Example

In the example below we pass in a wiki page the module most_commented through the plugin module.
So, this code:

Copy to clipboard
{module module="most_commented" objectType="wiki" objectLanguageFilter="en"}


Produces on this site:

See these pages for information that applies for all modules: