MediaWiki REL1_33
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.32+' );
29}
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
wfWarn( $msg, $callerOffset=1, $level=E_USER_NOTICE)
Send a warning either to the debug log or in a PHP error depending on $wgDevelopmentWarnings.
wfLoadExtension( $ext, $path=null)
Load an extension.
$wgMessagesDirs['ReplaceText']
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition magicword.txt:43