Extension:CustomSubtitle

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
CustomSubtitle
Release status: beta
Implementation Parser function
Description Allows to set a custom subtitle on a per page basis
Author(s) Antoine Lamielle (0x010Ctalk)
Latest version 0.1.0 (2020-05-29)
Database changes No
License GNU General Public License 2.0 or later
Download
Check usage and version matrix.

The CustomSubtitle extension provides the parser function to allow contributors to set custom subtitle to any content page.

Usage[edit]

On a page you can set the custom subtitle by adding something like shown in this example:

{{#subtitle: Add your custom subtitle for the given page here.}}

Installation[edit]

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