Page MenuHomePhabricator

Worklist input form should handle Wikipedia articles with underscores and other special charachters found in URLs
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • When copying the JSON output of Petscan, the JSON includes underscores (_) instead of spaces -- so in order to have properly formated

What happens?:reports an error with all of the items with underscores (_)

What should have happened instead?: Should be able to read underscores and other normal features in the url-type page titles, because different sources could produce that kind of irregularity.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Daimona renamed this task from Should handle Wikipedia articles with underscores and other special charachters found in URLs to Worklist input form should handle Wikipedia articles with underscores and other special charachters found in URLs.Tue, Aug 11, 2:19 PM
Daimona subscribed.

Yeah, this is actually something we talked about and meant to implement, I think it just fell through the cracks. I'm not sure if we should allow the non-canonical form in the page content itself, but the worklist edit helper should canonicalize the titles before saving them.

Change #1336067 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] WorklistArticleHelper: canonicalize title lists

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

Change #1336067 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] WorklistArticleHelper: canonicalize title lists

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