MediaWiki master
SpecialProtectPage.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Specials;
22
25
34
38 public function __construct(
39 SearchEngineFactory $searchEngineFactory
40 ) {
41 parent::__construct( 'ProtectPage', 'protect', 'protectpage', $searchEngineFactory );
42 }
43
44 // Messages, for grep:
45 // specialprotectpage-page
46 // specialprotectpage-submit
47}
48
53class_alias( SpecialProtectPage::class, 'SpecialProtectPage' );
Redirect from Special:ProtectPage/$1 to index.php?title=$1&action=protect.
__construct(SearchEngineFactory $searchEngineFactory)
Factory class for SearchEngine.