Page MenuHomePhabricator

Support adding sources with non-ASCII Unicode characters
Closed, ResolvedPublic4 Estimated Story Points

Description

As part of the Article Guidance work (T396029), the "Ask for sources" step invites users to provide references up front.
Currently an error is shown when the user provides URLs that include non-ASCII characters, preventing them from being added.
The expected result would be for sources with Unicode characters to be added without the issue.

This issue was reported in this talk page message. I used some examples from the Internationalized domain name Wikipedia article:

  • bücher.example
  • ουτοπία.δπθ.gr
  • উইকিপিডিয়া.বাংলা
b24e11a4f1.catalyst.wmcloud.org_w_index.php_title=Special_NewArticle&mobileaction=toggle_view_mobile(Wiki Mobile) (9).png (320×568 px, 53 KB)
b24e11a4f1.catalyst.wmcloud.org_w_index.php_title=Special_NewArticle&mobileaction=toggle_view_mobile(Wiki Mobile) (10).png (320×568 px, 53 KB)
b24e11a4f1.catalyst.wmcloud.org_w_index.php_title=Special_NewArticle&mobileaction=toggle_view_mobile(Wiki Mobile) (12).png (320×568 px, 54 KB)

Event Timeline

Pginer-WMF triaged this task as Medium priority.
eamedina changed the task status from Open to In Progress.Apr 10 2026, 8:26 PM
eamedina claimed this task.
eamedina moved this task from Prioritized to In-progress on the LPL Hypothesis board.
Bugreporter2 renamed this task from Support adding sources with non-ascii characters to Support adding sources with non-ASCII Unicode characters.Apr 15 2026, 1:27 AM
Bugreporter2 updated the task description. (Show Details)

Change #1272056 had a related patch set uploaded (by Eamedina; author: Eamedina):

[mediawiki/extensions/ArticleGuidance@master] Support adding sources with non-ASCII characters

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

Change #1272056 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Support adding sources with non-ASCII characters

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

Pginer-WMF moved this task from Design Signoff to Product Signoff on the LPL Hypothesis board.

The exampels in the descripton now work in Beta:

en.wikipedia.beta.wmcloud.org_w_index.php_title=Special_NewArticle&mobileaction=toggle_view_mobile(Wiki Mobile) (1).png (320×568 px, 61 KB)