https://bugzilla.wikimedia.org/show_bug.cgi?id=23027

           Summary: Abuse filter does not allow for use of old_text or
                    old_html
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: AbuseFilter
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


In the details of the abuse filter log -- such as
http://test.wikipedia.org/w/index.php?title=Special:AbuseLog&details=1784 --
one can clearly see the presence of the old_text and old_html variables. These
variables are clearly documented at
http://www.mediawiki.org/wiki/Extension:AbuseFilter/RulesFormat

However attempting to use these variables in a filter results in a syntax error
for unknown variables:

"abc" in old_text

results in

Syntax error detected: Unrecognised variable old_text at character 8

new_text and new_html work fine.

This is a problem because to use new_text or new_html, a proper filter often
needs to also check old_text or old_html, respectively. Enwiki in particular is
dealing with a particular vandal against whom new_text is the only appropriate
choice, but without old_text this filter is encountering false positives. 

Looking at the source code, old_text and old_html already appear to be
implemented, it just seems that old_text and old_html are just not recognized
by the abuse filter parser for some reason.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to