Last modified: 2013-12-17 10:36:06 UTC
For example see: https://meta.wikimedia.org/wiki/Special:ApiSandbox#action=centralnoticequerycampaign&format=json&campaign=Trademark%20policy%20discussion Expected: it should find the campaign called "Trademark policy discussion" [https://meta.wikimedia.org/w/index.php?title=Special:CentralNotice&method=listNoticeDetail¬ice=Trademark+policy+discussion] Actual result: it only looks for the first word, "Trademark" It does not seem to work with underscores ('_'), pluses ('+'), minuses/en-dashes ('-') or spaces (' '/'%20').
(In reply to comment #0) > It does not seem to work with underscores ('_'), pluses ('+'), > minuses/en-dashes ('-') or spaces (' '/'%20'). To clarify, it does work with characters like '-', but I can't figure out any reasonable way to encode spaces and get the proper result. I thought underscores or pluses would work, but no...
Change 97170 had a related patch set uploaded by Aude: Allow query campaign api to work for campaigns with space in their names https://gerrit.wikimedia.org/r/97170
Change 97170 merged by Mwalker: Allow query campaign api to work for campaigns with space in their names https://gerrit.wikimedia.org/r/97170
Patch was merged; hence closing as FIXED. Please reopen if more work is needed.