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

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

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

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

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

hashar added a comment.Via ConduitMar 11 2011, 12:28 PM

Should be in 1.18

Add Comment