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

       Web browser: ---
            Bug ID: 51192
           Summary: Format of alias data is inconsistent in SetAliases
           Product: MediaWiki extensions
           Version: master
          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: ---

Depending on if I am removing an alias (e.g. in the middle of the array),
adding one and whatnot, the way the alias data gets saves varys: 


  old_id: 105
 old_text:
{"label":{"en":"Soho"},"description":[],"aliases":{"en":["brown","orange","red"]},"claims":[],"links":[],"entity":["item",27]}
old_flags: utf-8
*************************** 106. row ***************************
   old_id: 106
 old_text:
{"label":{"en":"Soho"},"description":[],"aliases":{"en":{"1":"orange","2":"red"}},"claims":[],"links":[],"entity":["item",27]}
old_flags: utf-8

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