Page MenuHomePhabricator

[[MediaWiki:Cirrussearch-completion-profile-fuzzy-pref-desc/ml]] i18n issue
Closed, ResolvedPublic


Please clarify the meaning of 'close redirects' in this and similar MediaWiki messages. Although string is translated, it doesn't seem meaningful to many.


Translated in English: "Corrects up to two typos. Resolves close redirects."

Event Timeline

EBjune triaged this task as Medium priority.Apr 5 2018, 5:12 PM
EBjune moved this task from needs triage to Up Next on the Discovery-Search board.

Summoning @dcausse—I'm happy to help with wordsmithing, but I'm not sure what a "close redirect" is, either.

A close redirect is a redirect that is lexically close to its target page.
Albert Enstein is a close redirect to Albert Einstein
So when searching Albert Enstein we suggest Albert Einstein. This works most of the time but has some false positives like:
Life assurance => Life insurance

Explaining this in the message might be hard (due to limited space), perhaps we should add a link to from the message where we could add some examples.

This works most of the time but has some false positives like: Life assurance => Life insurance

Apparently that's not a false positive! It's actually called "life assurance" in the UK, according to enwiki. Who knew?

So the idea of resolving close redirects is to take very similar redirects, like Alber Einstein, Alber Enstien, Albert Eienstein, Albert einstein, Albert Einstein's, Albert Einstien, Albert Einstin, Albert eintein, Albert Enstein, and Albert Enstien and resolve them to the One True title "Albert Einstein" so all the really similar redirects don't fill up the completion suggester list.

That makes it sound like something like this could work:

"Corrects up to two typos. Removes redirects that are very similar to the main title."

I'm not too worried about describing the underlying process, but I'm not sure whether saying "removes", "merges", or "ignores" is more accurate in terms of behavior as the user sees it. They are probably all effectively the same when you are not agonizing over fine shades of meaning.

Change 459596 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[mediawiki/extensions/CirrusSearch@master] Clarify cirrussearch-completeion-profile-fuzzy-pref-desc

Change 459596 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Clarify cirrussearch-completion-profile-fuzzy-pref-desc