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