Page MenuHomePhabricator

The title attribute of parsoid interwiki links needs to be properly localized
Open, Needs TriagePublic

Description

We need to use Parsoid's i18n features to insert the appropriate markup to localize the title attributes of interwiki links (in WikiLinkHandler.php). In standalone mode we're currently using the 'linktext' properly returned from the siteinfo API, which is in whatever is the default language of the siteinfo API request; it should be a message localized into the user's UX language. (git grep interlanguage-link- in core.)

Actually -- it might be that we shouldn't be trying to set the title attribute here at all, we should leave that to the skin.

Event Timeline

Change 888058 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/services/parsoid@master] Add comments about maintaining language link metadata

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

Change 888058 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Add comments about maintaining language link metadata

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

Change 901245 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/vendor@master] Bump parsoid to 0.18.0-a2

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

Change 901245 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.18.0-a2

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