MediaWiki  master
MediaWiki\SpecialPage\Hook\RedirectSpecialArticleRedirectParamsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\SpecialPage\Hook\RedirectSpecialArticleRedirectParamsHook:

Public Member Functions

 onRedirectSpecialArticleRedirectParams (&$redirectParams)
 Use this hook to alter the set of parameter names such as "oldid" that are preserved when using redirecting special pages such as Special:MyPage and Special:MyTalk. More...
 

Detailed Description

Stable to implement.

Definition at line 9 of file RedirectSpecialArticleRedirectParamsHook.php.

Member Function Documentation

◆ onRedirectSpecialArticleRedirectParams()

MediaWiki\SpecialPage\Hook\RedirectSpecialArticleRedirectParamsHook::onRedirectSpecialArticleRedirectParams ( $redirectParams)

Use this hook to alter the set of parameter names such as "oldid" that are preserved when using redirecting special pages such as Special:MyPage and Special:MyTalk.

Since
1.35
Parameters
string[]&$redirectParamsArray of parameters preserved by redirecting special pages
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: