Fandom Developers Wiki
Advertisement

ModernLeaderboard is a theme for the leaderboard (Special:Leaderboard) that is more consistent with the current Fandom Design System. It offers an option to remove the "What are Achievements?" module with JS, but can also be imported as CSS only. It does not style the achievements rail module on one's user profile or achievement notifications.

Before installing, please make sure your wiki has Achievements enabled.

Installation

Configuration

The script offers an option to hide the "What are Achievements?" module at the top of the page. By default, the module is displayed.

Key Description Possible values Default
hideAbout Hide "What are Achievements?" module. 1/0 0

For example, the following would hide the module.

window.ModernLeaderboardSettings = {
    hideAbout: 1,
};

Changelog

06.14.18 - Initial revision
07.14.18 - Consistency with brand design (Rubik)
07.20.18 - Adding option to hide "About" module with JS
10.21.19 - Fix bug that prevents the "What are Achievements?" banner from being displayed
03.27.21 - Full UCP compatibility ✔️
06.06.21 - UCX/FandomDesktop compatibility ✔️

Planned features

  • Fix alignment issues for long achievement names (example)
Text above can be found here (edit)
Advertisement