MediaWiki master
SpecialDeletePage.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Specials;
8
11
20
21 public function __construct(
22 SearchEngineFactory $searchEngineFactory
23 ) {
24 parent::__construct( 'DeletePage', 'delete', 'deletepage', $searchEngineFactory );
25 }
26
27 // Messages, for grep:
28 // specialdeletepage-page
29 // specialdeletepage-submit
30}
31
33class_alias( SpecialDeletePage::class, 'SpecialDeletePage' );
Factory class for SearchEngine.
Abstract to simplify creation of redirect special pages.
Redirect from Special:DeletePage/$1 to index.php?title=$1&action=delete.
__construct(SearchEngineFactory $searchEngineFactory)