Page MenuHomePhabricator

Search screwed with == == headings
Closed, ResolvedPublic


Author: ameschede

The testcase

*[[Stephanie Niznik]] als Kell Perim


(taken from the german Wikipedia) results in the following entry in si_text:
"stephanie niznik als kell perimhandlung handlung handlung". Notice the bogus
"perimhandlung" that makes it impossible to find "Perim", and the duplication of

If you change the heading to "=== Handlung ===", the whole thing is correctly
stripped down to "stephanie niznik als kell perim handlung"

Version: 1.3.x
Severity: normal
OS: Linux
Platform: PC



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:03 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz918.

Confirmed still present in CVS HEAD when using built-in search.

Bug was in the emphasis multiplication for second-level headings; it was stripping out
the surrounding whitespace including the newlines. Fixed in CVS HEAD.