MediaWiki
master
SpecialPurge.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Specials
;
22
23
use
MediaWiki\SpecialPage\SpecialRedirectWithAction
;
24
use
SearchEngineFactory
;
25
32
class
SpecialPurge
extends
SpecialRedirectWithAction
{
33
37
public
function
__construct
(
38
SearchEngineFactory
$searchEngineFactory
39
) {
40
parent::__construct(
'Purge'
,
'purge'
,
'purge'
, $searchEngineFactory );
41
}
42
43
// Messages, for grep:
44
// specialpurge-page
45
// specialpurge-submit
46
}
47
52
class_alias( SpecialPurge::class,
'SpecialPurge'
);
MediaWiki\SpecialPage\SpecialRedirectWithAction
Definition
SpecialRedirectWithAction.php:36
MediaWiki\Specials\SpecialPurge
Redirect from Special:Purge/$1 to index.php?title=$1&action=purge.
Definition
SpecialPurge.php:32
MediaWiki\Specials\SpecialPurge\__construct
__construct(SearchEngineFactory $searchEngineFactory)
Definition
SpecialPurge.php:37
SearchEngineFactory
Factory class for SearchEngine.
Definition
SearchEngineFactory.php:11
MediaWiki\Specials
includes
specials
SpecialPurge.php
Generated on Fri Dec 13 2024 20:26:27 for MediaWiki by
1.10.0