Page MenuHomePhabricator

TitlesMultiselectWidget uses underscores instead of spaces
Closed, InvalidPublic

Description

Problem
TitlesMultiselectWidget uses underscores Main_Page instead of spaces Main Page

Screen Shot 2018-10-24 at 5.16.28 PM.png (110×1 px, 16 KB)

Solution
Add inprop=displaytitle to the API Request and use the displaytitle property.

Event Timeline

TBolliger subscribed.

Unless this is something we should tackle ourselves?

We could do it but I don't think we should consider it our responsibility directly.

Steps to reproduce? I just tried it out in browser console and it uses spaces.

Steps to reproduce? I just tried it out in browser console and it uses spaces.

Whoa... that's weird. It seems to be working perfectly now.

  1. Go to: https://wikidata.beta.wmflabs.org/wiki/Special:Block
  2. Type in Wikidata:Main Page and select it from the list.

But now it seems to work perfectly, so I'll close this for now. Not sure what the problem was, it may have been with the API.