MediaWiki settings of Wikimedia projects

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Ambox outdated content.svg

This page is kept for historical interest. Its content is outdated or may be wrong.

You may find more up-to-date information on the www.mediawiki.org website.

MediaWiki logo

Each wiki has a file Manual:LocalSettings.php containing MediaWiki parameters for that wiki, see Wikimedia configuration files.

The installed extensions are listed in each wiki on the page Special:Version. Largely they are the same for all Wikimedia wikis, but there are exceptions:

In principal all other php files (and the CSS and JavaScript files) are those standard for the latest version of MediaWiki.

Manual:CommonSettings.php[edit]

CommonSettings.php [1] contains the settings common to all Wikimedia projects.

These include:

# Load site configuration
include( "$IP/includes/DefaultSettings.php" );
include($IP.'/extensions/timeline/Timeline.php');
include($IP.'/extensions/wikihiero/wikihiero.php');
include( $IP.'/extensions/SiteMatrix/SiteMatrix.php' );
include( $IP.'/extensions/CharInsert/CharInsert.php' );
include( $IP.'/extensions/CheckUser/CheckUser.php' );
include( $IP.'/extensions/ParserFunctions/ParserFunctions.php' );
$wgExpensiveParserFunctionLimit = 500;
require( $IP.'/extensions/Cite/Cite.php' );
include( $IP.'/extensions/InputBox/InputBox.php' );
include( $IP.'/extensions/ExpandTemplates/ExpandTemplates.php' );
include( $IP.'/extensions/ImageMap/ImageMap.php' );
include( $IP.'/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php' );
include( $IP.'/extensions/Poem/Poem.php' );
{ if( $wmgUseLST ) { include( $IP . '/extensions/LabeledSectionTransclusion/lst.php' ); }
{ if( $wmgUseDPL ) { include( $IP.'/extensions/intersection/DynamicPageList.php' ); }
if ( $wmgUseGadgets ) { include( "$IP/extensions/Gadgets/Gadgets.php" ); }
[[$wgRCMaxAge|$wgRCMaxAge]] = 30*86400 (This can be checked with Recent Changes for a not too busy namespace, or with Related Changes for a suitable page).

$wgMaxSigChars[edit]

The maximum customized signature length $wgMaxSigChars on the English Wikipedia has been set to its default value of 255.