MediaWiki
REL1_31
CodeEditor.php
Go to the documentation of this file.
1
<?php
2
19
if
( function_exists(
'wfLoadExtension'
) ) {
20
wfLoadExtension
(
'CodeEditor'
);
21
// Keep i18n globals so mergeMessageFileList.php doesn't break
22
$wgMessagesDirs
[
'CodeEditor'
] = __DIR__ .
'/i18n'
;
23
/* wfWarn(
24
'Deprecated PHP entry point used for CodeEditor extension. ' .
25
'Please use wfLoadExtension instead, ' .
26
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
27
); */
28
return
;
29
}
else
{
30
die(
'This version of the CodeEditor extension requires MediaWiki 1.25+'
);
31
}
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition
GlobalFunctions.php:45
$wgMessagesDirs
$wgMessagesDirs['ReplaceText']
Definition
ReplaceText.php:50
extensions
CodeEditor
CodeEditor.php
Generated on Mon Nov 25 2024 15:34:15 for MediaWiki by
1.10.0