Page MenuHomePhabricator

Special redirect pages should remember parameters
Closed, ResolvedPublic

Description

Author: lupin.wp

Description:
Parameters appended to special page urls should be passed to the target where
this makes sense. For example,

http://en.wikipedia.org/wiki/Special:Mypage?action=history

should load the history of my user page instead of viewing the user page itself.
This applies to Special:Mytalk (and less usefully, Special:Randompage) too.


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/wiki/Special:Mypage?action=history

Details

Reference
bz5284

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:10 PM
bzimport set Reference to bz5284.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Addressed in SVN trunk, r13956. We can now code certain of the redirecting
special pages to specify parameters from the request string which should be
carried forward to the redirect.

This still doesn't work with URLs like
http://en.wikipedia.org/wiki/Special:Mypage/monobook.css?action=edit . Instead
of editing monobook.css, it edits the main userpage.

robchur wrote:

Should be addressed in SVN trunk, r14142.

brianna.laugher wrote:

Would it be possible to subst Special:Mypage ? It doesn't seem to work at the
moment, but would it be possible to implement?

This would be handy *-self templates for images at the Commons, since the file
history doesn't transclude.