Page MenuHomePhabricator

Parsoid returns mediawiki-internal codes in the Content-Language header
Open, Needs TriagePublic

Description

Parsoid return mediawiki-internal codes (like sr-ec) in the <meta http-equiv="content-language" content="sr-ec"> header it emits. This is wrong: we should be using BCP 47 codes here.

Event Timeline

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

[mediawiki/services/parsoid@master] Revert use of BCP 47 codes in Parsoid's Content-Language header

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

Change 856625 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Revert use of BCP 47 codes in Parsoid's Content-Language header

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

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

[mediawiki/vendor@master] Bump parsoid to 0.17.0-a7

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

Change 861464 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.17.0-a7

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

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

[mediawiki/vendor@wmf/1.40.0-wmf.12] Bump parsoid to 0.17.0-a7

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

Change 861472 merged by jenkins-bot:

[mediawiki/vendor@wmf/1.40.0-wmf.12] Bump parsoid to 0.17.0-a7

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

This was fixed and then reverted, so there's some work to do here still.