Page MenuHomePhabricator

LanguageConverter not applied to GeoCrumbs output
Closed, ResolvedPublic

Description

See
https://incubator.wikimedia.org/w/index.php?title=Wy/zh/%E4%B8%AD%E5%9B%BD&variant=zh-hant
The zh-hant version of 中国 is 中國 (see page title) while the curmb still displays the former (中国). Please somehow apply
https://doc.wikimedia.org/mediawiki-core/master/php/html/classZhConverter.html
to the code.


Version: master
Severity: minor
Whiteboard: gci2013 https://www.mediawiki.org/wiki/Google_Code-In#Candidate_tasks

Details

Reference
bz57925

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:42 AM
bzimport added projects: GeoCrumbs, I18n.
bzimport set Reference to bz57925.

Question: if an item in breadcrumb articles has -{T| }- or {{DISPLAYTITLE: }} in that article, should we display the -{T| }- or {{DISPLAYTITLE: }} version, or still the (possibly machine-converted version of) page name, in breadcrumbs?

This is a question for all wikis, not just wikis with Language Converter. It's currently impossible to disinguish customized titles set with -{T| }- and {{DISPLAYTITLE: }}, so it's either "yes" or "no" for both -{T| }- and {{DISPLAYTITLE: }}.

FWIW: Using -{T| }- or {{DISPLAYTITLE: }} seems actually easier, or cheaper.

... and from my view this is easy enough for GCI, when the question above is answered.

(In reply to comment #4)

So won't fix?

No.

(In reply to comment #4)

So won't fix?

Few people noticing this :/

(In reply to comment #6)

(In reply to comment #4)

So won't fix?

Few people noticing this :/

Because it isn't very important.

Just got the idea to add a new configuration setting to switch between the behavior to use converted (and maybe DISPLAYTITLE:) title, or to use the original page name.

Change 103656 had a related patch set uploaded by Mayankmadan:
Output language-converted-title in output

https://gerrit.wikimedia.org/r/103656

Change 103656 merged by jenkins-bot:
Output language-converted-title in output

https://gerrit.wikimedia.org/r/103656