Page MenuHomePhabricator

Support variants of page content languages in live preview
Closed, ResolvedPublic

Description

List of steps to reproduce

  • Enable database page language in LocalSettings.php: $wgPageLanguageUseDB = true;
  • Enable live preview in user preferences.
  • Set the user interface language to sr-Latn (Serbian with Latin script).
  • Create a page with page content language sr (or any other language with variants) and Cyrillic Serbian content.
  • Edit this page. The content in the edit box is in Cyrillic script.
  • Click on preview.

What happens?
The preview in Cyrillic script is shown.

What should have happened instead?
The preview in Latin script should be shown.

Event Timeline

Change 732763 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/core@master] Support variants of page content language in live preview

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

Change 732763 merged by jenkins-bot:

[mediawiki/core@master] Support variants of page content language in live preview

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