diff options
author | Ori Livneh <ori@wikimedia.org> | 2015-10-07 09:47:25 -0700 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2015-10-08 15:45:31 +0100 |
commit | 7628a11d8ec63eed3c64b11108ac512226111daf (patch) | |
tree | ae446fabc5d2f9625c27274a129e10fef591e912 /api.php5 | |
parent | a4791b8c79e5e8dee4b6939f81765848166f6327 (diff) | |
download | mediawikicore-7628a11d8ec63eed3c64b11108ac512226111daf.tar.gz mediawikicore-7628a11d8ec63eed3c64b11108ac512226111daf.zip |
Remove .php5 entrypoints and $wgScriptExtension
* The '.php5' entrypoints were deprecated in I68b1ae842, $wgScriptExtension
in I3690f78bc.
* Drop the associated ResourceLoader configuration variable, too. `mwgrep`
shows no usage in the MediaWiki namespace.
* Keep the scriptExtension configuration parameter for FileRepo for people who
would like to interoperate with older MediaWiki installations that still use
'.php5'.
Change-Id: I17c8a15484b7e82cd5970d34e688109a2aae3840
Diffstat (limited to 'api.php5')
-rw-r--r-- | api.php5 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/api.php5 b/api.php5 deleted file mode 100644 index 7512cdeb474e..000000000000 --- a/api.php5 +++ /dev/null @@ -1,26 +0,0 @@ -<?php -/** - * Version of api.php to be used in web servers that require the .php5 - * extension to execute scripts with the PHP5 engine. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * http://www.gnu.org/copyleft/gpl.html - * - * @file - */ - -define( 'MW_ENTRY_PHP5', true ); - -require './api.php'; |