Last modified: 2014-06-02 15:26:45 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 T49512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47512 - Switch AbuseFilter to using Lua
Switch AbuseFilter to using Lua
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
master
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: performance
: 49248 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-22 19:30 UTC by Sam Reed (reedy)
Modified: 2014-06-02 15:26 UTC (History)
8 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-04-22 19:30:50 UTC
Brion mentioned this on IRC, but seems there is no bug to go with it..

Rather than using AbuseFilters own language, could/should we switch it to Lua? Just dropping support of the current language would be bad, but preferring to use something more standard?
Comment 1 Helder 2013-07-15 19:03:44 UTC
+1
Comment 2 Liangent 2013-07-15 19:06:09 UTC
*** Bug 49248 has been marked as a duplicate of this bug. ***
Comment 3 Danilo 2013-07-15 20:07:09 UTC
It is a very good idea. Now the conditions of all filters are tested for all edits, by using Lua we can group the conditions and don't test, for example, filters for anonymous in registered edits.
Comment 4 Liangent 2014-06-02 15:26:45 UTC
Not sure whether it's good to add bug 50454 to "see also" and/or reopen it, but this Lua (for AbuseFilter) needs to include a regex library (see ngx.re in the nginx version of Lua), or it will be impossible to migrate current filters.

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


Navigation
Links