MediaWiki
REL1_34
OATHAuth.php
Go to the documentation of this file.
1
<?php
15
if
( function_exists(
'wfLoadExtension'
) ) {
16
wfLoadExtension
(
'OATHAuth'
);
17
18
$wgMessagesDirs
[
'OATHAuth'
] = __DIR__ .
'/i18n'
;
19
$wgExtensionMessagesFiles
[
'OATHAuthAlias'
] = __DIR__ .
'/OATHAuth.alias.php'
;
20
21
wfWarn
(
22
'Deprecated PHP entry point used for OATHAuth extension. Please use wfLoadExtension instead, '
.
23
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
24
);
25
26
return
true
;
27
}
else
{
28
die(
'This version of the OATHAuth extension requires MediaWiki 1.32+'
);
29
}
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
OATHAuth
OATHAuth.php
Generated on Mon Nov 25 2024 16:04:39 for MediaWiki by
1.10.0