Last modified: 2014-02-12 23:38:29 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 T27673, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25673 - Extend the EditFilter language to include the possibility of processing multi-valued return values
Extend the EditFilter language to include the possibility of processing multi...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-27 17:13 UTC by Robert Ribnitz
Modified: 2014-02-12 23:38 UTC (History)
2 users (show)

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


Attachments

Description Robert Ribnitz 2010-10-27 17:13:47 UTC
The language used to configure edit filters should be extended to include the possibility of processing multi-valued return values. This would enable more efficient checks if an edit was reverted (the current check seems to be that the current user is in the "list of the last 10 contributors", which they may also be even if they didn't do anything wrong; similarly, a check whether the last edit was done by a "bot" seems to be whether the bot is in the last 10 editors). A perhaps easy to understand semantic would be to introduce the notion of "list", and to have operators to get the first element, the rest of the list, perhaps with a size and empty? function (think of Lisps car/cdr). An alternative would be to introduce a way to split strings (alongside spaces most probably).

These changes would allow more precise filters. They might also allows to detect page reversions better ("IP reverted legit user who reverted IP edit")

There are of course just thoughts.

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


Navigation
Links