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

           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
        AssignedTo: agarr...@wikimedia.org
        ReportedBy: federicol...@tiscali.it
                CC: wikibugs-l@lists.wikimedia.org


See e.g. [[q:it:Speciale:AbuseFilter/examine/310666]] (feel free to temporarily
add yourself to local sysop group, if you want) i.e.
http://it.wikiquote.org/?diff=304888 : 
(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:
http://it.wikiquote.org/w/index.php?title=Speciale:AbuseLog&details=179 : 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 *===?[^=]+")
or
(new_wikitext rlike "===? *Senza fonte *===?[^=]+" + "nonexistentstring")

-- 
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.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to