https://bugzilla.wikimedia.org/show_bug.cgi?id=51326
Web browser: ---
Bug ID: 51326
Summary: Invisible symbols in Wikidata API
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
A behavior of Wikibase extension API differs from the general Mediawiki API
when it works with invisible symbols like \u200d. The general Mediawiki API
removes invisible symbols from titles in the query and returns results for
titles without such symbols. For example, see [1].
The Wikibase extension API doesn't remove these symbols and it returns
different result for queries with and without such symbols. For example, see
[2] and [3].
I'm sure that it would be useful to have one policy for general API and its
extension about these symbols.
[1]
http://ml.wikipedia.org/w/api.php?action=query&format=json&prop=langlinks&lllimit=500&titles=%E0%B4%A8%E0%B4%B5%E0%B4%82%E0%B4%AC%E0%B4%B0%E0%B5%8D%E2%80%8D
[2]
http://www.wikidata.org/w/api.php?action=wbgetentities&format=json&props=sitelinks&sites=mlwiki&titles=%E0%B4%A8%E0%B4%B5%E0%B4%82%E0%B4%AC%E0%B4%B0%E0%B5%8D%E2%80%8D
[3]
http://www.wikidata.org/w/api.php?action=wbgetentities&format=json&props=sitelinks&sites=mlwiki&titles=%E0%B4%A8%E0%B4%B5%E0%B4%82%E0%B4%AC%E0%B5%BC
--
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