Done with `composer fix` and suppressing the rest (i.e. sniffs for global variables, which for core should be suppressed anyway). Additionally, add `-p` to `phpcbf`, as otherwise it just seems stuck. Change-Id: Ide8d6cdd083655891b6d654e78440fbda81ab2bc
32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Redirect from Special:Purge/$1 to index.php?title=$1&action=purge.
|
|
*
|
|
* 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
|
|
* @ingroup SpecialPage
|
|
* @author DannyS712
|
|
*/
|
|
class SpecialPurge extends SpecialRedirectWithAction {
|
|
public function __construct() {
|
|
parent::__construct( 'Purge', 'purge', 'purge' );
|
|
}
|
|
|
|
// Messages, for grep:
|
|
// specialpurge-page
|
|
// specialpurge-submit
|
|
}
|