MediaWiki
REL1_32
LocalisationUpdate.php
Go to the documentation of this file.
1
<?php
2
3
if
( function_exists(
'wfLoadExtension'
) ) {
4
wfLoadExtension
(
'LocalisationUpdate'
);
5
// Keep i18n globals so mergeMessageFileList.php doesn't break
6
$GLOBALS
[
'wgMessagesDirs'
][
'LocalisationUpdate'
] = __DIR__ .
'/i18n'
;
7
wfWarn
(
8
'Deprecated PHP entry point used for LocalisationUpdate extension. '
.
9
'Please use wfLoadExtension instead, '
.
10
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
11
);
12
return
;
13
}
else
{
14
die(
'This version of the LocalisationUpdate extension requires MediaWiki 1.25+'
);
15
}
$GLOBALS
$GLOBALS['IP']
Definition
ComposerHookHandler.php:6
wfWarn
wfWarn( $msg, $callerOffset=1, $level=E_USER_NOTICE)
Send a warning either to the debug log or in a PHP error depending on $wgDevelopmentWarnings.
Definition
GlobalFunctions.php:1144
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition
GlobalFunctions.php:45
extensions
LocalisationUpdate
LocalisationUpdate.php
Generated on Mon Nov 25 2024 15:56:37 for MediaWiki by
1.10.0