wiki.techinc.nl/includes/specials/SpecialDeletePage.php
Alexander Vorwerk 439838c33f Rename Special:Delete/Protect to Special:DeletePage/ProtectPage
Otherwise they are using the 'delete' and 'protect' message key,
which are already defined.

Follow-Up: Idf076573c0f429171221660145b616ec83516a2a
Bug: T295611
Change-Id: I797f0e23ca639dac6889f3f363b7a8c72e30f681
2021-11-18 02:12:20 +01:00

37 lines
1.1 KiB
PHP

<?php
/**
* Redirect from Special:DeletePage/$1 to index.php?title=$1&action=delete.
*
* 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 Zabe
*
* @since 1.38
*/
class SpecialDeletePage extends SpecialRedirectWithAction {
public function __construct() {
parent::__construct( 'DeletePage', 'delete', 'deletepage' );
}
// Messages, for grep:
// specialdeletepage-page
// specialdeletepage-submit
}