Cirrus Search is supposed to remove references from headings, however now it does not work anymore, witnessed by:
http://cirrustest-cirrus-browser-bot.wmflabs.org/wiki/HasHeadingsWithReference?action=cirrusDump
Cirrus Search is supposed to remove references from headings, however now it does not work anymore, witnessed by:
http://cirrustest-cirrus-browser-bot.wmflabs.org/wiki/HasHeadingsWithReference?action=cirrusDump
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix reference handling | mediawiki/extensions/CirrusSearch | master | +6 -2 |
Looks like this code is to blame in PageDataBuilder.php:
$heading = preg_replace( '/<sup>\s*\[\s*\d+\s*\]\s*<\/sup>/', '', $heading );
Change 283495 had a related patch set uploaded (by Smalyshev):
Use HtmlFormatter to strip tags