Last modified: 2014-06-30 02:17:43 UTC
If you have an extract in which the title is followed immediately by punctuation which is not part of the title, the title should still be bolded. Example: http://en.wikifur.com/wiki/Category:NordicFuzzCon_staff The text "Trax" is not bolded in the popup for the title "Trax" because it is followed by a comma: "Trax, also known as TraxSwe, ..." The pattern "Title," is not all that common in developed articles, but it is valid. "Title (something)," is quite common and if Bug 67225 is fixed, it will become more common in extracts as well.
Another example of punctuation preventing a title from being bolded in an extract: http://en.wikifur.com/wiki/Paradise The title is styled as "Paradise" (with the quotes) in the lede, per standard song punctuation, but the title is just [[Paradise]], and this prevents it from being bolded. In this case, it would be nice to include the quotes in the bolding; there might ideally be two sorts of punctuation; one set which is part of the bolded text, even if it is not in the title, and one which is excluded from it.
A related consideration: while article.getProcessedHtml requires space (or the article start/end) before and after the title, in some languages there may correctly be no spaces *or* punctuation between the title and subsequent text. For example, in http://zh.wikifur.com/wiki/Rei the title is followed immediately by another character, and many of the links below follow the same pattern. This is common on zh.wikipedia.org as well.