(bug 35060) more allowed params to Special:MyPage, Special:MyTalk
authorDerrick Coetzee <dc@moonflare.com>
Thu, 10 May 2012 03:12:42 +0000 (20:12 -0700)
committerDerrick Coetzee <dc@moonflare.com>
Thu, 19 Jul 2012 18:57:58 +0000 (11:57 -0700)
commit2bf1a9cd8ad5f204faeaaa792a9a51899807fc59
treed70705cec0d281c5229c703e8e46ff3dd31f81f3
parentaeacaae2b2c09015acda3da0f2e32ff50520bc1c
(bug 35060) more allowed params to Special:MyPage, Special:MyTalk

I investigated the available parameters and considered which could be
plausibly useful for Special:MyPage and Special:MyTalk, and there are
quite a few. See inline documentation for a list of them. More could
potentially be added in the future if a use case is discovered.

This patch also make it possible for extensions to add their own
parameters to this list, through the new hook:
RedirectSpecialArticleRedirectParams

It has at least one application - with FlaggedRevs, it's desirable to
pass the "stable" flag through Special:MyPage. It also makes it simple
for individual servers that have some special reason to pass on a
particular parameter to do so in LocalSettings.php, simplifying
upgrades.

Change-Id: I3101fbe2eba8712b87a53706583f4e8f3e907478
docs/hooks.txt
includes/SpecialPage.php