Last modified: 2013-10-27 13:46:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46717, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44717 - empty aliases array on the API on some format like JSON or PHP
empty aliases array on the API on some format like JSON or PHP
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
http://www.wikidata.org/w/api.php?for...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-06 15:57 UTC by Jitrixis
Modified: 2013-10-27 13:46 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jitrixis 2013-02-06 15:57:10 UTC
The discussion is here :
http://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#Can.27t_delete_languages_from_an_item

Problem :
When I add an alias, a variable is created but when I throw the delete flag for an alias and if there is no more aliases for this language the variable is still alive but empty. It's why we can see on labelLister, which use json format, blank rows in some language
Comment 1 denny vrandecic 2013-02-07 12:26:56 UTC
Adding as bug
Comment 2 Addshore 2013-10-08 13:44:16 UTC
I guess the data model should check to see if there are no aliases for a language before saving an empty array
Comment 4 Jitrixis 2013-10-27 13:43:55 UTC
The bug has been fixed

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links