Fandom Developers Wiki
Advertisement

TopArticles is a script that provides lists of most viewed articles using Fandom API. They can be shown either as a simple list or as the module.

Installation

Usage

A simple list of top articles can be shown with:

<div class="mobile-hidden TopArticles">
Loading top articles...
</div>

The mobile-hidden class is used to hide the text since FandomMobile skin doesn't provide community scripts.

This will output:

Loading top articles...

TopArticles can also output a list that looks like the the sidebar module of Special:Search. To do this, use:

<div class="mobile-hidden TopArticles" data-type="search">
Loading top articles...
</div>

This will output:

Loading top articles...

Text above can be found here (edit)
Advertisement