Page MenuHomeWickedGov Phorge

RedirectSpecialArticleRedirectParamsHook.php
No OneTemporary

Size
780 B
Referenced Files
None
Subscribers
None

RedirectSpecialArticleRedirectParamsHook.php

<?php
namespace MediaWiki\SpecialPage\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "RedirectSpecialArticleRedirectParams" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface RedirectSpecialArticleRedirectParamsHook {
/**
* 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
*
* @param string[] &$redirectParams Array of parameters preserved by redirecting special pages
* @return bool|void True or no return value to continue or false to abort
*/
public function onRedirectSpecialArticleRedirectParams( &$redirectParams );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 17:46 (8 h, 53 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5f/39/e3560868d2a0e5962a1cad81e2d2
Default Alt Text
RedirectSpecialArticleRedirectParamsHook.php (780 B)

Event Timeline