Last modified: 2010-05-15 16:03:47 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).
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?
whats the status of this request? (will close in a week if no response)