bugzilla-daemon | 24 Sep 2012 16:13
Picon

[Bug 40476] New: Add a type marker to the entity output by the API

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

       Web browser: ---
             Bug #: 40476
           Summary: Add a type marker to the entity output by the API
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: wikidata-bugs <at> lists.wikimedia.org
        ReportedBy: jeblad <at> gmail.com
                CC: wikidata-bugs <at> lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

After the change from using "item" and "items" into "entity" and "entities" it
is necessary to specify the individual types of entities in the output from the
API. Preferably with a key-value -pair "type".

In some cases it could be valid to only output this type marker if the
EntityContent is fetched from the page, or if it is available through some
other means.

--

-- 
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.

Gmane