Page MenuHomePhabricator

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


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 ) ) .

Version: unspecified
Severity: enhancement



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