Last modified: 2012-11-28 13:51:41 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 T39505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37505 - Report not-found items in ApiGetItems
Report not-found items in ApiGetItems
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-12 13:54 UTC by jeblad
Modified: 2012-11-28 13:51 UTC (History)
2 users (show)

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


Attachments

Description jeblad 2012-06-12 13:54:03 UTC
ApiGetItems now silently drop reporting of not-found items. By adding fake entries for not found items on the form

{
	"items": {
		"1234567890": {
			"id": 1234567890,
			"missing": ""
		}
	}
}

it would be simple to identify missing items.

It is not so easy to identify missing items because of failing site-title pairs, not least because they are plural, but each tested pair could give a report like

{
	"pages": {
		"-1": {
			"site": "no",
			"title": "Krisftiania",
			"missing": ""
		}
	}
}

where the negative numbers keeps increasing.
Comment 1 jeblad 2012-06-12 13:57:18 UTC
Description of a fix, already reported as bug.

*** This bug has been marked as a duplicate of bug 37504 ***
Comment 2 jeblad 2012-07-05 08:06:43 UTC
https://gerrit.wikimedia.org/r/#/c/14279/
Comment 3 jeblad 2012-07-05 08:47:34 UTC
Solution is merged.

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


Navigation
Links