MediaWiki
1.34.0
Poem.php
Go to the documentation of this file.
1
<?php
2
3
if
( function_exists(
'wfLoadExtension'
) ) {
4
wfLoadExtension
(
'Poem'
);
5
// Keep i18n globals so mergeMessageFileList.php doesn't break
6
$wgMessagesDirs
[
'Poem'
] = __DIR__ .
'/i18n'
;
7
wfWarn
(
8
'Deprecated PHP entry point used for Poem extension. Please use wfLoadExtension instead, '
.
9
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
10
);
11
return
true
;
12
}
else
{
13
die(
'This version of the Poem extension requires MediaWiki 1.25+'
);
14
}
$wgMessagesDirs
$wgMessagesDirs['ReplaceText']
Definition:
ReplaceText.php:50
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition:
GlobalFunctions.php:47
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
extensions
Poem
Poem.php
Generated on Thu Dec 19 2019 14:53:57 for MediaWiki by
1.8.16