Last modified: 2014-02-12 23:38:31 UTC
It would be useful to be able to use the variable old_html in AbuseFilter on Wikimedia wikis (specifically, it.wikiquote): old_html is currently calculated (see e.g. [[Special:AbuseFilter/examine/log/1864098]]), but if you try to use it in a filter you get the error: «Syntax error detected: Unrecognised variable old_html». I suppose this is a wanted behaviour to reduce resources consumption, but I file this bug as a placeholder/reminder.
*** Bug 24310 has been marked as a duplicate of this bug. ***
*** Bug 23027 has been marked as a duplicate of this bug. ***
Looking at AbuseFilter.class.php, those two variables are commented out with the note "Disabled, performance". We could add a new preference option ($wgAbuseFilterOldVariables) which could be used to then enable them on a per-wiki basis? I'll look to see if I can find any discussion on why they were disabled.