Consider using IntlBreakIterator for the word counts shown on Special:Search results
Open, LowestPublic

Description

This currently uses str_word_count() which is fast, but wrong on some languages (notable chinese, but probably others that don't use spaces). IntlBreakIterator uses icu to do the word breaking, and should give a better count. Still not sure if it's correct though.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 11 2016, 5:58 PM
Deskana renamed this task from Consider using IntlBreakIteator for the word counts shown on Special:Search results to Consider using IntlBreakIterator for the word counts shown on Special:Search results.Oct 20 2016, 10:06 PM
Deskana added projects: Discovery, Easy.
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptOct 20 2016, 10:06 PM
Deskana triaged this task as Lowest priority.Oct 20 2016, 10:07 PM
Deskana added a subscriber: Deskana.

Not a priority right now, since it's a mostly cosmetic problem.

Deskana moved this task from Needs triage to Later on the Discovery-Search board.Oct 20 2016, 10:07 PM