Last modified: 2010-08-31 19:17:40 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 T26957, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24957 - enable editinterface user group on hindi wiki and grant bureacrats to add/remove this group
enable editinterface user group on hindi wiki and grant bureacrats to add/rem...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://hi.wikipedia.org/wiki/%E0%A4%B...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-27 17:32 UTC by Mayur
Modified: 2010-08-31 19:17 UTC (History)
3 users (show)

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


Attachments

Description Mayur 2010-08-27 17:32:17 UTC
hi we want to give right to edit interface to improve our gadgets and translation of interface,kindly enable this group and grant bureacrats to add or remove this group

community consensus is at this link-http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2/%E0%A4%AA%E0%A5%81%E0%A4%B0%E0%A4%BE%E0%A4%B2%E0%A5%87%E0%A4%96_20#Apply_reveiwer_.26_partrolled_system_and_Enable_Some_User_Groups_.28autopatroller.2C_reveiwers.29
Comment 1 Sam Reed (reedy) 2010-08-28 01:31:10 UTC
To help with translation of the interface, it'd be better to get people to sign up at http://translatewiki.net/wiki/Main_Page and request translator rights. All MediaWiki interface messages, many MediaWiki extensions and various other applications can be translated there...
Comment 2 Mayur 2010-08-28 15:05:34 UTC
yes but to install some gadgets and to edit .js mediawiki files we need this. but thank you for telling us about this translation link, hopefully this will decease some burden
Comment 3 Platonides 2010-08-28 15:16:29 UTC
Are you sure you want to freely give it ? Note that having editinterface allows to write malicious javascript which could do ehm... nasty things.
Comment 4 Mayur 2010-08-28 15:23:15 UTC
No thats why we have asked also to remove this group by bureacrat.fiest of all we will give this right for some period to a trusty user.and if he makes any stupid mistakes bureacrat may simply revoke his editinterface right.
Comment 5 Platonides 2010-08-28 18:07:33 UTC
If you are able to catch him...
The evidence will be in the edit history, but may be hard to find out there was an exploit added.
Comment 6 Mayur 2010-08-28 18:44:49 UTC
if you are saying that he may edit php files too then it may be a worse case
. Actually if a user is technically sound then we may promate him to this group to improve or solve our .js files. some experts from other wikis may also be called. i think it is a good for improvement of gadgats and our common.js and moonobook files.
Comment 7 Platonides 2010-08-28 20:20:13 UTC
No, they can't edit php files. But they can change the .js file which your sysops will then use.
For example they could add a script that made the sysops delete any page they visited. It is a poweful right, you should take that into account before you adding anyone to that group.
Comment 8 Mayur 2010-08-29 02:34:22 UTC
Actually this group membership will be given to another wiki technically sound admins.There will be very less chance to give it to any new and less experienced user.because most of our scripts and gadgats are taken from english and french wiki.so their admins may help us regarding these issue.if a technically sound user join hindi wiki then we may also promote him to this category for some period.Offcourse it is a very powerfull script and its right will bee given to any technically sound aand trusty user.Regards
Comment 9 JeLuF 2010-08-31 04:50:53 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1080)
+++ InitialiseSettings.php	(working copy)
@@ -5429,6 +5429,7 @@
 	    'reviewer' => array ( 'patrol' => true, 'autopatrol' => true ),
 	    'autopatrolled' => array( 'autopatrol' => true ),
 	    'editprotected' => array( 'editprotected' => true ),
+	    'interface_editors' => array( 'editinterface' => true )
     ),
     'hrwiki' => array(
     	'patroller' => array( 'patrol' => true, 'autopatrol' => true, 'rollback' => true ),
@@ -5911,6 +5912,7 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
+	    'bureaucrat' => array( 'interface_editors', ),
 	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'abusefilter', 'patroller', ),
     ),
     '+hrwiki' => array(
@@ -6171,7 +6173,7 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'bureaucrat' => array( 'sysop' ),
+	    'bureaucrat' => array( 'sysop', 'interface_editors', ),
 	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'abusefilter', 'patroller', ),
     ),
     '+hrwiki' => array(
Comment 10 Mayur 2010-08-31 07:10:05 UTC
however we are able to add/remove this group. and this group is being shown special:listuserright. but this is bening not shown by user list of interface editors (http://hi.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7%3AListUsers&username=&group=interface_editors&limit=50) and interface editors are not able to edit interface.
Comment 11 Mayur 2010-08-31 13:22:13 UTC
this change is not working we are not able to make interface editors.and this group is being shown
special:listuserright. but this is bening not shown by user list of interface
editors
(http://hi.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7%3AListUsers&username=&group=interface_editors&limit=50)
and interface editors are not able to edit interface.
Comment 12 JeLuF 2010-08-31 19:14:41 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1085)
+++ InitialiseSettings.php	(working copy)
@@ -5433,7 +5433,7 @@
 	    'reviewer' => array ( 'patrol' => true, 'autopatrol' => true ),
 	    'autopatrolled' => array( 'autopatrol' => true ),
 	    'editprotected' => array( 'editprotected' => true ),
-	    'interface_editors' => array( 'editinterface' => true ),
+	    'interface_editor' => array( 'editinterface' => true ),
 	    'flood'  => array( 'bot' => true ),
     ),
     'hrwiki' => array(
@@ -5917,7 +5917,7 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'bureaucrat' => array( 'interface_editors', 'flood', ),
+	    'bureaucrat' => array( 'interface_editor', 'flood', ),
 	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'abusefilter', 'patroller', ),
     ),
     '+hrwiki' => array(
@@ -6178,7 +6178,7 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'bureaucrat' => array( 'sysop', 'interface_editors', 'flood', ),
+	    'bureaucrat' => array( 'sysop', 'interface_editor', 'flood', ),
 	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'abusefilter', 'patroller', ),
     ),
     '+hrwiki' => array(
Comment 13 JeLuF 2010-08-31 19:17:40 UTC
Now this was a funny bug.

I've copied the config from another wiki. I've also reused the group name used on that wiki.

BUT: It never worked on the wiki from which I've copied the config.

Group names must not be longer than 16 characters. "interface_editors" has 17. That can't work. 

In order to fix it, I've now renamed the group to "interface_editor". I hope this will work now.

See also bug 15285

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


Navigation
Links