See https://sv.wikipedia.org/w/index.php?diff=37667389 and https://sv.wikipedia.org/w/index.php?diff=37667490
This is not only on sv.wikipedia.org
See https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Edit_filter_gone_nuts
See https://sv.wikipedia.org/w/index.php?diff=37667389 and https://sv.wikipedia.org/w/index.php?diff=37667490
This is not only on sv.wikipedia.org
See https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Edit_filter_gone_nuts
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Revert "Enable AbuseFilterCachingParser by default" | operations/mediawiki-config | master | +5 -2 |
cond | cond & cond
used to be interpreted as
( cond | cond ) & cond
but is now interpreted as
cond | ( cond & cond )
Change 316917 had a related patch set uploaded (by Legoktm):
Revert "Enable AbuseFilterCachingParser by default"
Change 316917 merged by jenkins-bot:
Revert "Enable AbuseFilterCachingParser by default"
Mentioned in SAL (#wikimedia-operations) [2016-10-20T01:17:35Z] <legoktm@mira> Synchronized wmf-config/InitialiseSettings.php: Revert Enable AbuseFilterCachingParser by default - T148673 (duration: 00m 51s)
Oh, leaving open as someone presumably needs to fix the new AbuseFilterCachingParser.
The specific change which happened, as far as I understand it, is that the precedence remained the same, but apparently the new parser treats boolean operators as right-associative, whereas it used to treat them as left-associative. This is an oversight on my part. I will write a patch to fix that and add tests.
This should be fixed with https://gerrit.wikimedia.org/r/#/c/320157/. @ori is re-enabling the feature in https://gerrit.wikimedia.org/r/#/c/321728/.