Last modified: 2014-09-10 18:54:05 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 T60247, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58247 - Tidy up (and perhaps kill) abusefilter.php Wikimedia configuration file
Tidy up (and perhaps kill) abusefilter.php Wikimedia configuration file
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-10 02:04 UTC by MZMcBride
Modified: 2014-09-10 18:54 UTC (History)
10 users (show)

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


Attachments

Description MZMcBride 2013-12-10 02:04:15 UTC
https://noc.wikimedia.org/conf/abusefilter.php.txt

AbuseFilter went from being per-wiki to being a global (Wikimedia-wide) MediaWiki extension. I think its configuration can be simplified and tidied up.

Low-hanging fruit might be consolidating $wgAbuseFilterNotifications and finding other ways to reduce the need for per-wiki variance in the database case switch.

It also might make sense to evaluate why this particular extension's configuration is still split out to a separate file. It may make sense to put it back with the rest of the extension configuration (i.e., CommonSettings.php or InitialiseSettings.php). That'll require some research and trade-off analysis.
Comment 1 Aravind K N 2014-01-10 12:55:06 UTC
Could someone assign this to me?
Comment 2 Andre Klapper 2014-01-10 14:45:06 UTC
Aravind: Just feel free to work on this by putting a patch into Gerrit.
Comment 3 Marius Hoch 2014-02-28 17:56:23 UTC
Doesn't seem like people actually want this... https://gerrit.wikimedia.org/r/114656 ... wontfix?
Comment 4 Nemo 2014-02-28 20:16:36 UTC
(In reply to Marius Hoch from comment #3)
> Doesn't seem like people actually want this...
> https://gerrit.wikimedia.org/r/114656 ... wontfix?

That's not what I said. I "objected" to the removal of 2 lines out of 26 you were removing. There is surely a lot of unnecessary code duplication. For instance, many wikis have an identical, while non-default, configuration: we could have 2-3 "models" and then have one single line for a wiki to adopt one + adaptations. Just to throw one idea towards the goal mentioned by MZ.
Comment 5 Gerrit Notification Bot 2014-03-04 12:04:23 UTC
Change 114656 had a related patch set uploaded by Hoo man:
Simplify the AbuseFilter configuration a little

https://gerrit.wikimedia.org/r/114656
Comment 6 Gerrit Notification Bot 2014-03-06 19:30:30 UTC
Change 114656 merged by jenkins-bot:
Simplify the AbuseFilter configuration a little

https://gerrit.wikimedia.org/r/114656
Comment 7 Andre Klapper 2014-04-25 06:49:22 UTC
Patch was merged a while ago - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 8 Gerrit Notification Bot 2014-08-25 08:17:48 UTC
Change 156081 had a related patch set uploaded by Withoutaname:
Move some permissions from abusefilter.php to InitialiseSettings.php

https://gerrit.wikimedia.org/r/156081
Comment 9 Gerrit Notification Bot 2014-08-29 21:29:35 UTC
Change 156081 abandoned by Withoutaname:
Move some permissions from abusefilter.php to InitialiseSettings.php

Reason:
Agreed, I don't think this bug is worth the resources needed to solve it.

https://gerrit.wikimedia.org/r/156081
Comment 10 Marius Hoch 2014-09-10 18:54:05 UTC
IMO we can RESOLVE this as this is not worth working on anymore (also I'm actually not opposing one configuration file per extension).

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


Navigation
Links