MediaWiki
master
SpecialDeletePage.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Specials
;
22
23
use
MediaWiki\SpecialPage\SpecialRedirectWithAction
;
24
use
SearchEngineFactory
;
25
33
class
SpecialDeletePage
extends
SpecialRedirectWithAction
{
34
38
public
function
__construct
(
39
SearchEngineFactory
$searchEngineFactory
40
) {
41
parent::__construct(
'DeletePage'
,
'delete'
,
'deletepage'
, $searchEngineFactory );
42
}
43
44
// Messages, for grep:
45
// specialdeletepage-page
46
// specialdeletepage-submit
47
}
48
50
class_alias( SpecialDeletePage::class,
'SpecialDeletePage'
);
MediaWiki\SpecialPage\SpecialRedirectWithAction
Definition
SpecialRedirectWithAction.php:36
MediaWiki\Specials\SpecialDeletePage
Redirect from Special:DeletePage/$1 to index.php?title=$1&action=delete.
Definition
SpecialDeletePage.php:33
MediaWiki\Specials\SpecialDeletePage\__construct
__construct(SearchEngineFactory $searchEngineFactory)
Definition
SpecialDeletePage.php:38
SearchEngineFactory
Factory class for SearchEngine.
Definition
SearchEngineFactory.php:11
MediaWiki\Specials
includes
specials
SpecialDeletePage.php
Generated on Thu Nov 7 2024 08:26:08 for MediaWiki by
1.10.0