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