Extension:ShortDescription


MediaWiki extensions manual
OOjs UI icon advanced.svg
ShortDescription
Release status: beta
Implementation Parser extension , API
Description Adds short description without Wikibase
Author(s) alistair3149talk
Latest version 1.0.1 (2019-12-19)
Compatibility policy master
MediaWiki 1.31+
License GNU General Public License 3.0
Download
Translate the ShortDescription extension if it is available at translatewiki.net
Check usage and version matrix.

The ShortDescription extension adds the required magic word {{SHORTDESC:}} and API to mimic the short description provided by Wikibase on Wikimedia projects. It also provides a new magic word {{GETSHORTDESC:}} for retrieving the short description on the same page.

InstallationEdit

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

FeaturesEdit

  • Provide the exact same magic word {{SHORTDESC}} as Wikimedia projects, allowing you to define the description use on the page, which is being used by other Wikimedia extensions like RelatedArticles.
  • Add the same description API under query as Wikimedia projects
  • Provide a new magic word {{GETSHORTDESC}} for retrieving the short description on the same page

See alsoEdit