Extension:WikimediaBadges

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
WikimediaBadges
Release status: stable
Implementation User interface
Description Default themes to display badges on Wikimedia projects
Author(s)
Latest version continuous updates
Compatibility policy release branches
MediaWiki 1.31+
PHP 7.0+
License GNU General Public License 2.0 or later
Download
  • $wgWikimediaBadgesCommonsCategoryProperty
Translate the WikimediaBadges extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The WikimediaBadges extension provides default themes to display badges generated by Wikibase Client (via the badgeClassNames setting) on Wikimedia projects.

It provides themes for the following Wikimedia skins:

  • vector
  • cologneblue
  • modern
  • monobook

Make sure you have one of the above skins installed to use the extension. You can check your installed skin on Special:Version.

Additionally the extension changes the Wikimedia Commons link in the "Other projects" sidebar to point to the Commons category (P373), even if the Item's sitelink of the page is actually pointing to the gallery page.

Installation[edit]

  • Download and place the file(s) in a directory called WikimediaBadges in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'WikimediaBadges' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also[edit]