MediaWiki
REL1_34
Nuke.php
Go to the documentation of this file.
1
<?php
2
3
if
( function_exists(
'wfLoadExtension'
) ) {
4
wfLoadExtension
(
'Nuke'
);
5
// Keep i18n globals so mergeMessageFileList.php doesn't break
6
$wgMessagesDirs
[
'Nuke'
] = __DIR__ .
'/i18n'
;
7
$wgExtensionMessagesFiles
[
'NukeAlias'
] = __DIR__ .
'/Nuke.alias.php'
;
8
9
wfWarn
(
10
'Deprecated PHP entry point used for Nuke 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 Nuke extension requires MediaWiki 1.28.1+'
);
17
}
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:1065
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition
GlobalFunctions.php:47
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles['ReplaceTextAlias']
Definition
ReplaceText.php:51
$wgMessagesDirs
$wgMessagesDirs['ReplaceText']
Definition
ReplaceText.php:50
extensions
Nuke
Nuke.php
Generated on Mon Nov 25 2024 16:04:38 for MediaWiki by
1.10.0