MediaWiki
REL1_30
ConfirmEdit.php
Go to the documentation of this file.
1
<?php
2
33
if
( function_exists(
'wfLoadExtension'
) ) {
34
wfLoadExtension
(
'ConfirmEdit'
);
35
// Keep i18n globals so mergeMessageFileList.php doesn't break
36
$wgMessagesDirs
[
'ConfirmEdit'
] = __DIR__ .
'/i18n'
;
37
$wgExtensionMessagesFiles
[
'ConfirmEditAlias'
] = __DIR__ .
'/ConfirmEdit.alias.php'
;
38
wfWarn
(
39
'Deprecated PHP entry point used for ConfirmEdit extension. '
.
40
'Please use wfLoadExtension instead, '
.
41
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
42
);
43
return
;
44
}
else
{
45
die(
'This version of the ConfirmEdit extension requires MediaWiki 1.25+'
);
46
}
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition
DefaultSettings.php:7223
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:1191
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition
GlobalFunctions.php:115
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition
magicword.txt:43
extensions
ConfirmEdit
ConfirmEdit.php
Generated on Mon Nov 25 2024 15:41:56 for MediaWiki by
1.10.0