MediaWiki master
MediaWiki\SpecialPage\Hook\RedirectSpecialArticleRedirectParamsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

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.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "RedirectSpecialArticleRedirectParams" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 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: