Last modified: 2010-06-29 14:59:51 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 T26167, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24167 - When multiple "warn" filters are triggered, edit is prevented
When multiple "warn" filters are triggered, edit is prevented
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Andrew Garrett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-28 20:06 UTC by Ted Osborne
Modified: 2010-06-29 14:59 UTC (History)
1 user (show)

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


Attachments

Description Ted Osborne 2010-06-28 20:06:30 UTC
Given a set of 3 filters:

#1: article_namespace == 0 & "orange" in lcase(added_lines)
#2: article_namespace == 0 & "red" in lcase(added_lines)
#3: article_namespace == 0 & "green" in lcase(added_lines)

where all 3 are set to give warning (but NOT prevented), edits that trigger combinations of these filters prevent the edit entirely. For example:

Edit session 1:
-------------------------------
1. Add line containing "GREEN"
2. Click Save page: Warning for #3 displays
3. Click Save page again: Edit goes through (correct behavior)

Edit session 2:
-------------------------------
1. Add line containing "GREEN and RED"
2. Click Save page: Warning for #2 displays
3. Click Save page again: Warning for #2 displays
4. Click Save page again: Warning for #2 displays
...etc. The edit is prevented entirely, stuck in a loop.
5. Click Cancel (abandon edit)

Edit session 3:
-------------------------------
1. Add line containing "GREEN, RED, and ORANGE"
2. Click Save page: Warning messages for #1 and #3 display
3. Click Save page again: Warning message for #2 displays
4. Click Save page again: Warning messages for #1 and #3 display
5. Click Save page again: Warning message for #2 displays
...etc. The edit is prevented entirely, stuck in a loop.
6. Click Cancel (abandon edit)
Comment 1 Andrew Garrett 2010-06-28 20:10:42 UTC
Fixed in r68681
Comment 2 Ted Osborne 2010-06-29 14:59:51 UTC
Just tried it -- thanks!

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


Navigation
Links