Last modified: 2010-11-30 12:56:10 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 T26394, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24394 - Install AbuseFilter on Hindi Wikipedia
Install AbuseFilter on Hindi Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Highest enhancement (vote)
: ---
Assigned To: Rob Halsell
http://hi.wikipedia.org/wiki/%E0%A4%B...
: shell
: 24900 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-15 18:45 UTC by Mayur
Modified: 2010-11-30 12:56 UTC (History)
5 users (show)

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


Attachments

Description Mayur 2010-07-15 18:45:09 UTC
* MediaWiki version: 1.16wmf4
* PHP version: 5.2.4-2ubuntu5.7wm1 (apache2handler)
* MySQL version: 4.0.40-wikimedia-log

Hi I am an administrator from hindi wiki.Like other wiki abuse filter is not installed in our project.Due to which many unknown ips make vandalism by putting their abuse in our article pages.our article is being continuosly damaged by vandalers.So We need some Abuse filter managers and its installation.I have made all media wiki file for it.But at last found that it is not installed in hindi wiki.So please install this tool on hindi wikipedia and give priviledges to admins to add Abuse filter managers.Our community will be grateful to you. I have given the community concenses in url given above, our cmmunity members are in favours of this.
Comment 1 Mayur 2010-07-19 15:05:33 UTC
how much time it will take to install abuse filter or i have forgot to mention something, the link for the community is at our village pump (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#Abuse_Filter_Installation_.26_granting_admins.28syopp.29_to_add_Abuse_filter_managers). We hope that its installation would be done soon.

                                                  Thankyou
                                                  Mayurkumar
Comment 2 Mayur 2010-08-12 16:13:20 UTC
How much time it will take to install these features. please install these features as soon as possible.hindi wiki will be greatful to Bugzilla
Comment 3 JeLuF 2010-08-15 19:44:37 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1011)
+++ InitialiseSettings.php	(working copy)
@@ -5866,7 +5866,7 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'sysop' => array( 'confirmed', 'rollbacker', 'reviewer', 'autopatrolled', 'editprotected' ),
+	    'sysop' => array( 'confirmed', 'rollbacker', 'reviewer', 'autopatrolled', 'editprotected', 'abusefilter' ),
     ),
     '+hrwiki' => array(
 	    'bureaucrat' => array( 'sysop', 'bureaucrat', 'bot', 'patroller', 'autopatrolled' ),
@@ -6121,7 +6121,7 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'sysop' => array( 'confirmed', 'rollbacker', 'reviewer', 'autopatrolled', 'editprotected' ),
+	    'sysop' => array( 'confirmed', 'rollbacker', 'reviewer', 'autopatrolled', 'editprotected', 'abusefilter' ),
     ),
     '+hrwiki' => array(
 	    'bureaucrat' => array( 'bot', 'patroller', 'autopatrolled' ),
@@ -7706,6 +7706,7 @@
    'flaggedrevs_labswikimedia' => true, // Aaron 2010-04-21
    'frwiki' => true,
    'hewiki' => true, // Andrew 2009-04-01 bug 18300
+   'hiwiki' => true, 
    'hsbwiki' => true,
    'huwiki' => true,
    'itwiki' => true,
Comment 4 Mayur 2010-08-17 08:28:46 UTC
sorry abuse filter is not working, niether we can add abuse filter user, please check it.I have imported many abuse filter from eng wiki. but they are not working.
Comment 5 JeLuF 2010-08-17 18:10:38 UTC
What doesn't work?

Looking at the log, I have the impression that it works:
http://hi.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:AbuseLog&wpSearchFilter=18

If you're missing groups, please specify which groups you're missing, which permissions these groups should have and which groups should have the permission to assign these groups.
Comment 6 Mayur 2010-08-18 06:37:00 UTC
If you will observe here http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:ListGroupRights admins(प्रबंधक) has right to add group of abuse filter.but when we watch in user right managment, no option is available of abuse filter user group.As per our request at 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#Abuse_Filter_Installation_.26_granting_admins.28syopp.29_to_add_Abuse_filter_managers we want you to allow admins to add or remove these groups
Comment 7 Mayur 2010-09-03 03:40:46 UTC
Actually abuse filter is working but Right to add/remove abuse filter manager group has not been enabled or this group is not enasbled. because in specail:userrights deatail showing that admin have right to add/remove abuse  filter group.but when we go to user right management to change rights of any user to add him in this group, there is no option available.Thias is the problem i talking about.So Pleas enable this group and grant bureaucrats to add/remove this group.
       Thank you & Regards
Comment 8 JeLuF 2010-09-08 05:40:47 UTC
*** Bug 24900 has been marked as a duplicate of this bug. ***
Comment 9 JeLuF 2010-09-08 05:45:38 UTC
Granted "abusefilter-modify" to user group "abusefilter". 

+} elseif ($wgDBname == 'hiwiki') {
+       $wgGroupPermissions['abusefilter']['abusefilter-modify'] = true;
Comment 10 Mayur 2010-09-08 07:24:39 UTC
hi ,thanks for enavling this group but we asked for bureucretat to add/remove this group not admins as par Bug 24900
Comment 11 JeLuF 2010-09-08 21:29:43 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1108)
+++ InitialiseSettings.php	(working copy)
@@ -5903,8 +5903,8 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'bureaucrat' => array( 'interface_editor', 'flood', ),
-	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'abusefilter', 'patroller', ),
+	    'bureaucrat' => array( 'interface_editor', 'flood', 'abusefilter', ),
+	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'patroller', ),
     ),
     '+hrwiki' => array(
 	    'bureaucrat' => array( 'sysop', 'bureaucrat', 'bot', 'patroller', 'autopatrolled' ),
@@ -6164,8 +6164,8 @@
 		'sysop' => array( 'patroller', 'autopatrolled' ),
     ),
     '+hiwiki' => array(
-	    'bureaucrat' => array( 'sysop', 'interface_editor', 'flood', ),
-	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'abusefilter', 'patroller', ),
+	    'bureaucrat' => array( 'sysop', 'interface_editor', 'flood', 'abusefilter'),
+	    'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'editprotected', 'patroller', ),
     ),
     '+hrwiki' => array(
 	    'bureaucrat' => array( 'bot', 'patroller', 'autopatrolled' ),
Comment 12 Mayur 2010-10-05 06:08:14 UTC
Hi, Due to some limitations of abuse filters we are not able to revert and hide some filetrs, please enable following setting too 

$wgGroupPermissions['bureaucrats']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['bureaucrats']['abusefilter-revert'] = true;
$wgGroupPermissions['bureaucrats']['abusefilter-private'] = true;

thank you and regards
Comment 13 Mayur 2010-10-05 07:28:26 UTC
Please reconfigure this exetension as-

$wgGroupPermissions['bureaucrat','abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['*']['abusefilter-log-detail'] = true;
$wgGroupPermissions['*']['abusefilter-view'] = true;
$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-private'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-view-private'] = true;
$wgGroupPermissions['bureaucrat','abusefilter','sysop']['abusefilter-revert'] = true;

Thank you and regards
Comment 14 Mayur 2010-10-05 08:39:31 UTC
Please reconfigure this exetension as-

$wgGroupPermissions['bureaucrat','abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['sysop','abusefilter']['abusefilter-log-detail'] = true;
$wgGroupPermissions['*']['abusefilter-view'] = true;
$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-private'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-view-private'] = true;
$wgGroupPermissions['sysop','abusefilter']['abusefilter-revert'] =
true;

Thank you and regards
Comment 15 Mayur 2010-10-19 11:16:39 UTC
Please reconfigure this exetension as-

$wgGroupPermissions['bureaucrat','abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['*']['abusefilter-log-detail'] = true;
$wgGroupPermissions['*']['abusefilter-view'] = true;
$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-private'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-view-private'] = true;
$wgGroupPermissions['sysop','abusefilter']['abusefilter-revert'] =
true;

  
hi how much delay will it take, its about three month to go.please resolve this bug as soon as possible to bugzilla team

Thank you and regards,
Comment 16 Rob Halsell 2010-11-08 17:48:00 UTC
Done
Comment 17 Mayur 2010-11-09 17:08:21 UTC
Hi you have spelled bureaucrat for bureaucrats which have given above desired rights to a new group bureaucrats.and we had desired to give "abusefilter-modify" right to bureaucrat,abusefilter group only.Please reconfigure this extension as-

$wgGroupPermissions['bureaucrat','abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['*']['abusefilter-log-detail'] = true;
$wgGroupPermissions['*']['abusefilter-view'] = true;
$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-private'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-view-private'] = true;
$wgGroupPermissions['sysop','abusefilter']['abusefilter-revert'] =
true;
Comment 18 Mayur 2010-11-09 17:09:55 UTC
Hi you have spelled bureaucrat for bureaucrats which have given above desired
rights to a new group bureaucrats.and we had desired to give
"abusefilter-modify" right to bureaucrat,abusefilter group only.Please
reconfigure this extension as-

$wgGroupPermissions['bureaucrat','abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['*']['abusefilter-log-detail'] = true;
$wgGroupPermissions['*']['abusefilter-view'] = true;
$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-private'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-view-private'] = true;
$wgGroupPermissions['sysop','abusefilter']['abusefilter-revert'] =
true;
Comment 19 Rob Halsell 2010-11-09 17:17:42 UTC
Fixed
Comment 20 Mayur 2010-11-09 17:22:06 UTC
Modify abuse filters (abusefilter-modify) is still attached with sysop rights, please grant this for bureaucrats and abuse filter group only
Comment 21 Rob Halsell 2010-11-09 17:27:19 UTC
Fixed
Comment 22 Mayur 2010-11-11 19:33:13 UTC
Hi the  only think remaining is to enable abusefilter-modify-restricted, however you have assigned this rights to bureaucrats but it is not available for use while using this exetension. i mean options to degroup and block are not available
Comment 23 Mayur 2010-11-23 05:17:36 UTC
Enable some array in the configuration of the extension 

$wgAbuseFilterAvailableActions  array( 'flag', 'throttle', 'warn', 'disallow', 'blockautopromote', 'block', 'tag', 'rangeblock' )
Comment 24 Roan Kattouw 2010-11-27 17:13:39 UTC
(In reply to comment #23)
> Enable some array in the configuration of the extension 
> 
> $wgAbuseFilterAvailableActions  array( 'flag', 'throttle', 'warn', 'disallow',
> 'blockautopromote', 'block', 'tag', 'rangeblock' )
No other wiki has 'block' or 'rangeblock' in their $wgAbuseFilterAvailableActions, and abusefilter.php even contains this code:

// Disable some potentially dangerous actions during testing
$wgAbuseFilterAvailableActions = array_diff( $wgAbuseFilterAvailableActions, array( 'block', 'rangeblock', 'degroup' ) );

Andrew, is this still current? Can hiwiki have block and rangeblock as AF actions?
Comment 25 Mayur 2010-11-29 09:02:22 UTC
As this options are available in test wiki abuse filter configuration, so it is technically possible to have "range block and block" as abuse filter actions.Kindly enable these options if that is possible
Comment 26 Andrew Garrett 2010-11-29 13:50:22 UTC
These actions aren't disabled for technical reasons. It's more a matter of whether or not you want MediaWiki itself applying blocks and rangeblocks to suspicious edits.
Comment 27 Roan Kattouw 2010-11-30 12:56:10 UTC
(In reply to comment #26)
> These actions aren't disabled for technical reasons. It's more a matter of
> whether or not you want MediaWiki itself applying blocks and rangeblocks to
> suspicious edits.
Alright. Enabling them on hiwiki per this request then.

Index: wmf-config/abusefilter.php
===================================================================
--- wmf-config/abusefilter.php  (revision 1350)
+++ wmf-config/abusefilter.php  (working copy)
@@ -78,6 +78,8 @@
        $wgGroupPermissions['*']['abusefilter-log-detail'] = true;
        $wgGroupPermissions['*']['abusefilter-view'] = true;
        $wgGroupPermissions['*']['abusefilter-log'] = true;
+       $wgAbuseFilterAvailableActions[] = 'block';
+       $wgAbuseFilterAvailableActions[] = 'rangeblock';
 } elseif ($wgDBname == 'itwiki') {
        $wgGroupPermissions['*']['abusefilter-view'] = false;
        $wgGroupPermissions['*']['abusefilter-log'] = false;

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


Navigation
Links