Last modified: 2010-05-15 16:03:47 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 T17691, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15691 - Problem on user group assigment
Problem on user group assigment
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.13.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-22 13:20 UTC by lodopidolo
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

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


Attachments

Description lodopidolo 2008-09-22 13:20:10 UTC
I've create various groups, all of then has spaces("Development users", "user access", ...). In 1.12 version I have not problem on user groups assignment using Special:UserRights page. In 1.13, groups assigments are made by checkbox control, and these control, in thier html name and id have spaces, so when form data are sent to server, all these controls values are lost.

There should be something that convert spaces in _, and also in saveUserGroups (in $IP/includes/special/SpecialUserrights.php).
Comment 1 lodopidolo 2008-09-23 07:54:43 UTC
I modified $IP/includes/specials/SpecialUserrights.php line 134, where put:

     if ($wgRequest->getCheck( "wpGroup-$group )) {

I replaced for:

     if ($wgRequest->getCheck( "wpGroup-".str_replace(" ", "_", $group) )) {

Because when form variables are sent, in $wgRequest appear with spaces substitute character _ .

Is this correct?
Comment 2 Betacommand 2009-07-15 23:10:21 UTC
whats the status of this request? (will close in a week if no response)

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


Navigation
Links