https://bugzilla.wikimedia.org/show_bug.cgi?id=41534

       Web browser: ---
             Bug #: 41534
           Summary: add title normalization to wbgetentities
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


If i am requesting a page title that is not normalized like 
http://de.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=New_York_City

the response includes a normalized tag 
 <normalized>
  <n from="new_York_City" to="New York City" /> 
 </normalized>

and the normalized page

 <page pageid="204956" ns="0" title="New York City">


For wbgetentities this should also be implemented.
http://wikidata-test-repo.wikimedia.de/w/api.php?action=wbgetentities&sites=dewiki&titles=New_York_City
currently only returns

<entity site="dewiki" title="New_York_City" missing="" />

although

http://wikidata-test-repo.wikimedia.de/w/api.php?action=wbgetentities&sites=dewiki&titles=New%20York%20City

exists.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to