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

       Web browser: ---
            Bug ID: 54025
           Summary: Do not store empty array in json of wikidata items
           Product: MediaWiki extensions
           Version: REL1_21 branch
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Edits after the last update on existing items will increase the size of the
item, because now there are '"badges":[]' in it. Thats maybe a migration from
old items, but this will contribute byte differences to a user, which maybe
only changed one byte in that and makes a list with byte differences useless.

Maybe there is need to migrate the json format, but there is no need to story
empty arrays in the json written to database (That also applied to "refs":[] on
claims).

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