Last modified: 2012-04-16 09:15:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26851 - Allow wpReason to be passed to Special:UserRights
Allow wpReason to be passed to Special:UserRights
Status: VERIFIED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-21 18:51 UTC by xenocidic
Modified: 2012-04-16 09:15 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xenocidic 2011-01-21 18:51:48 UTC
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
Comment 1 xenocidic 2011-01-21 18:52:35 UTC
...because of "false" in the third value.
Comment 2 Alexandre Emsenhuber [IAlex] 2011-02-01 15:17:44 UTC
Fixed in r81309.
The parameter is named "user-reason" as for the form submission
Comment 3 Antoine "hashar" Musso (WMF) 2011-03-11 12:28:00 UTC
Should be in 1.18

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links