MediaWiki REL1_31
Renameuser.php
Go to the documentation of this file.
1<?php
2
3if ( function_exists( 'wfLoadExtension' ) ) {
4 wfLoadExtension( 'Renameuser' );
5 // Keep i18n globals so mergeMessageFileList.php doesn't break
6 $wgMessagesDirs['Renameuser'] = __DIR__ . '/i18n';
7 $wgExtensionMessagesFiles['RenameuserAliases'] = __DIR__ . '/Renameuser.alias.php';
8
9 /* wfWarn(
10 'Deprecated PHP entry point used for Renameuser extension. Please use wfLoadExtension instead, ' .
11 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
12 ); */
13
14 return true;
15} else {
16 die( 'This version of the Renameuser extension requires MediaWiki 1.30+' );
17}
wfLoadExtension( $ext, $path=null)
Load an extension.
$wgMessagesDirs['ReplaceText']
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition magicword.txt:43