MediaWiki
REL1_31
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.25+'
);
29
}
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition
GlobalFunctions.php:45
$wgMessagesDirs
$wgMessagesDirs['ReplaceText']
Definition
ReplaceText.php:50
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition
magicword.txt:43
extensions
OATHAuth
OATHAuth.php
Generated on Mon Nov 25 2024 15:34:21 for MediaWiki by
1.10.0