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


bzimport set Reference to bz26851.
bzimport added a subscriber: Unknown Object (MLST).
Xeno created this task.Jan 21 2011, 6:51 PM
Xeno added a comment.Jan 21 2011, 6:52 PM

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

IAlex added a comment.Feb 1 2011, 3:17 PM

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

Should be in 1.18

Add Comment