MediaWiki REL1_31
OATHAuth.php
Go to the documentation of this file.
1<?php
15if ( 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( $ext, $path=null)
Load an extension.
$wgMessagesDirs['ReplaceText']
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition magicword.txt:43