forked from wikimedia/mediawiki-extensions-Push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Push.php
26 lines (24 loc) · 890 Bytes
/
Push.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
* Documentation: https://www.mediawiki.org/wiki/Extension:Push
* Support https://www.mediawiki.org/wiki/Extension_talk:Push
* Source code: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Push
*
* @file Push.php
* @ingroup Push
*
* @license GPL-3.0-or-later
* @author Jeroen De Dauw < [email protected] >
*/
if ( function_exists( 'wfLoadExtension' ) ) {
wfLoadExtension( 'Push' );
// Keep i18n globals so mergeMessageFileList.php doesn't break
$wgMessagesDirs['Push'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['PushAliases'] = __DIR__ . '/Push.alias.php';
wfWarn(
'Deprecated PHP entry point used for Push extension. Please use wfLoadExtension instead, ' .
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
);
return;
}
die( 'This version of the Push extension requires MediaWiki 1.29+' );