https://bugzilla.wikimedia.org/show_bug.cgi?id=57373
Web browser: ---
Bug ID: 57373
Summary: API action=centralnoticequerycampaign does not work
for campaigns with spaces
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: CentralNotice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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').
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l