Page MenuHomePhabricator

Where returning data from WorldCat, include the OCLC#
Closed, ResolvedPublic1 Estimated Story Points


We'll get this back from the WorldCat API and it's a useful number to return; we may need an additional way to map it to templatedata though, unless you know off-hand of the right thing to use? We'll need to add it to templates for it to be used, of course, but it's a helpful item to provide.

Event Timeline

Is this a worldcat requirement?

The OCLC # is already in the URL.

It is indeed already a valid param on en wiki though so that's trivia to add to template data at least on en wiki:

Is this a worldcat requirement?

It's a strongly requested feature, and I think it's worth adding. Having it in the citoid JSON response and encouraging wikis to use it in their templates is the limit of what I was thinking.

Change 313799 had a related patch set uploaded (by Mvolz):
Add OCLC to response for WorldCat requests

Change 313799 merged by jenkins-bot:
Add OCLC to response for WorldCat requests

Does this also need fixes in the Citoid extension, or just in the templates and their TemplateData? already has the oclc parameter, but its templatedata would need "oclc": "oclc", in the citoid map, I guess?

Yup, just that one line in the map.

Okie-dokie, done. Thank you!

mobrovac added a project: User-mobrovac.
mobrovac added a subscriber: mobrovac.

Reopening until deployment.

Deployed, resolving.