Page MenuHomePhabricator

Allow wpReason to be passed to Special:UserRights
Closed, ResolvedPublic

Description

It would be convenient to be able to build a link to Special:UserRights with the reason field prefilled.

According to Amalthea, this isn't possible at the moment...

Because it's coded that way: SpecialUserrights.php, line 456 in r77562:
Xml::input( 'user-reason', 60, false, array( 'id' => 'wpReason', 'maxlength' => 255 ) ) .
http://svn.wikimedia.org/doc/SpecialUserrights_8php_source.html#l00440


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=User_talk:Amalthea&oldid=409001396#wpReason

Details

Reference
bz26851

Event Timeline

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

...because of "false" in the third value.

Fixed in r81309.
The parameter is named "user-reason" as for the form submission