Summary: When using + append operator, rlike checks each
                    individual string instead of the combined one
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: AbuseFilter

See e.g. [[q:it:Speciale:AbuseFilter/examine/310666]] (feel free to temporarily
add yourself to local sysop group, if you want) i.e. : 
(new_wikitext rlike ("===? *Senza fonte *===?[^=]+" + added_lines)) 
gives false  while it's expected to give true (and it seems to do so if
added_lines is one line only, e.g. here: : if
this is the correct behaviour change bug summary), but if you remove
parenthesis it always gives true, even if you check 
(new_wikitext rlike "nonexistentstring" + "===? *Senza fonte *===?[^=]+")
(new_wikitext rlike "===? *Senza fonte *===?[^=]+" + "nonexistentstring")

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching all bug changes.

Wikibugs-l mailing list

Reply via email to