Jump to content

Extension:CustomSubtitle

From mediawiki.org
MediaWiki extensions manual
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)
MediaWiki >= 1.34.0
Database changes No
License GNU General Public License 2.0 or later
Download

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 file:
    wfLoadExtension( 'CustomSubtitle' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.