Jump to content

Extension:MultiTitle

From mediawiki.org
MediaWiki extensions manual
MultiTitle
Release status: beta
Implementation Parser extension , User interface
Description Display as if multiple titles are the same page
Author(s) Tbodttalk
Compatibility policy Master maintains backward compatibility.
MediaWiki >= 1.47.0
Licence GNU General Public License 2.0 or later
Download
Translate the MultiTitle extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The MultiTitle extension is a utility to give the appearance of one page having multiple titles.

Currently it works like so: if a redirect page has the magic word __KEEPTITLE__, the target page will be rendered with the title of the redirect page, instead of putting it in the subtitle.

The extension was originally written for use on the Toki Pona encyclopedia at https://wikipesija.org, where for some pages it's desirable to have several of the titles leading to the page not be preferred one over the other.

Installation

[edit]
  • Download and move the extracted MultiTitle folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MultiTitle
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'MultiTitle' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.