Jump to content

Extension:TwnMainPage

From mediawiki.org
MediaWiki extensions manual
TwnMainPage
Release status: stable
Implementation Special page
Description Provides the custom main page for Translatewiki.net
Author(s)
Latest version 2016-02-21
MediaWiki >= 1.39.0
License GNU General Public License 2.0 or later
Download
  • $wgMainPageImages
Translate the TwnMainPage extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The TwnMainPage extension provides the custom main page for Translatewiki.net . It adds a special page, Special:TwnMainPage, intended to be used as the main page.

Installation

  • Download and move the extracted TwnMainPage 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/TwnMainPage
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TwnMainPage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.