From d8522a5e4d58f5534925159efb8fd2291e122d44 Mon Sep 17 00:00:00 2001 From: Nikita Rana Date: Sat, 6 Apr 2019 01:14:59 +0530 Subject: [PATCH] Remove php entry point Bug: T140007 Change-Id: I7f0378d632d6f2d71aa04bf22f28614ae3256bb5 --- Editcount.php | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Editcount.php diff --git a/Editcount.php b/Editcount.php deleted file mode 100644 index 0b14e55..0000000 --- a/Editcount.php +++ /dev/null @@ -1,27 +0,0 @@ - - * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason - * @license GPL-2.0-or-later - */ - -if ( function_exists( 'wfLoadExtension' ) ) { - wfLoadExtension( 'Editcount' ); - // Keep i18n globals so mergeMessageFileList.php doesn't break - $wgMessagesDirs['Editcount'] = __DIR__ . '/i18n'; - $wgExtensionMessagesFiles['EditcountAlias'] = __DIR__ . '/Editcount.alias.php'; - wfWarn( - 'Deprecated PHP entry point used for Editcount extension. Please use wfLoadExtension instead, ' . - 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' - ); - return; -} else { - die( 'This version of the Editcount extension requires MediaWiki 1.25+' ); -}