Page MenuHomePhabricator

CodeMirror should use only the content language, not the user language
Closed, ResolvedPublic

Description

When the IU language is changed (by uselang param or Language Tool) to a language different than the site language ($wgContLang), CodeMirror gets the wrong list of localized magic words. It should use $wgContLang rather than $context->getLanguage().

Event Timeline

Change 364187 had a related patch set uploaded (by Pastakhov; owner: Pastakhov):
[mediawiki/extensions/CodeMirror@master] Use $wgLanguageCode for retrieving list of Magic Words

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

kaldari renamed this task from CodeMirror should use only language from $wgLanguageCode to CodeMirror should use only the content language, not the user language.Jul 10 2017, 10:50 PM
kaldari updated the task description. (Show Details)

Change 364187 merged by jenkins-bot:
[mediawiki/extensions/CodeMirror@master] Use $wgContLang for retrieving list of Magic Words

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

Pastakhov triaged this task as Medium priority.
Pastakhov removed a project: Patch-For-Review.