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


Author: xenowiki

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 added a subscriber: wikibugs-l.
bzimport set Reference to bz26851.
bzimport created this task.Via LegacyJan 21 2011, 6:51 PM
bzimport added a comment.Via ConduitJan 21 2011, 6:52 PM

xenowiki wrote:

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

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.