101 parent::__construct( $name );
104 'redirect',
'rdfrom',
105 # Options for preloaded edits
106 'preload',
'preloadparams',
'editintro',
'preloadtitle',
'summary',
'nosummary',
107 # Options for overriding user settings
108 'preview',
'minor',
'watchthis',
109 # Options for history/diffs
110 'section',
'oldid',
'diff',
'dir',
111 'limit',
'offset',
'feed',
114 # Options for action=raw; missing ctype can break JS or CSS in some browsers
115 'ctype',
'maxage',
'smaxage',
118 $this->
getHookRunner()->onRedirectSpecialArticleRedirectParams( $redirectParams );
119 $this->mAllowedRedirectParams = $redirectParams;
126 $query = parent::getRedirectQuery( $subpage );
131 $query && isset( $query[
'action'] ) && isset( $query[
'redlink'] ) &&
132 ( $query[
'action'] ===
'edit' || $query[
'action'] ===
'submit' ) &&
133 (
bool)$query[
'redlink'] &&
134 $title instanceof
Title &&
148 class_alias( RedirectSpecialArticle::class,
'RedirectSpecialArticle' );
Superclass for any RedirectSpecialPage which redirects the user to a particular article (as opposed t...
getRedirectQuery( $subpage)
Return part of the request string for a special redirect page This allows passing,...
Shortcut to construct a special page alias.
getRedirect( $subpage)
If the special page is a redirect, then get the Title object it redirects to.