Page MenuHomePhabricator

Multibyte Unicode strings display incorrectly in the Quiz answer dropdown
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Create a quiz with the text
{
|type="{}"}
조사와 형용사형 어미를 써 다음 문장을 완성하시오.
유튜브{ 는 }
  1. Submit the quiz with any answer, e.g. leaving the input box empty.
  2. Click the ▼ dropdown at the end of the input box in the corrected quiz.

Actual result

  1. The dropdown is empty.
    quiz_multibyte_incorrect.png (109×381 px, 7 KB)

Expected result

  1. The dropdown shows the correct result, .
    quiz_multibyte_correct.png (110×387 px, 7 KB)

Event Timeline

It seems to be an easy fix, will create a patch.

Change 743696 had a related patch set uploaded (by Tacsipacsi; author: Tacsipacsi):

[mediawiki/extensions/Quiz@master] Fix display of correct answers using Unicode

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

Change 743696 merged by jenkins-bot:

[mediawiki/extensions/Quiz@master] Fix display of correct answers using Unicode

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

I assume this has been fixed.