Use <b> elements to identify probable good first paragraphs

Authored by Mholloway on Mon, Feb 12, 11:52 PM.

Description

Use <b> elements to identify probable good first paragraphs

Improves upon our heuristic for identifying the true lead paragraph for
extracting lead introductions. The original version was unreliable on
non-English wikis, particularly dewiki; and the updated version in commit
bee6c764 was overly aggressive and had significant problems on itwiki.

With this change the results as tested by compare-extracts.js are
consistently very good across wikis.

Bug: T186847
Change-Id: I543c0bcee8aa5e24a4e94889d6bd0f582eb55373

Details