Am 16.01.2014 17:18, schrieb Brueckner, Sebastian:
Hey everyone,
As we have just introduced ourselves on wikidata-l, we are currently working on
a PubSubHubbub [1] extension [2] to MediaWiki. Currently, the extension only
works on MediaWiki articles, not on Wikibase objects. For those articles we are
using the wiki markup as exchange format (using URLs with action=raw), but
currently there is no equivalent in Wikibase.
Jeroen already explained about the canonical JSON format. In the context I would
like to add some information about the URI scheme we use for our linked data
interface, which should also be used for PuSH, I think:
The canonical URI of the *description* of a Wikidata item has the form
<http://www.wikidata.org/wiki/Special:EntityData/Q64>. This URI is
format-agnostic, content negotiation is used to redirect to the appropriate
concrete URL (in a web browser, the redirect will typically take you to the
item's "nromal" page). A format can also be specified directly by giving a
file
extension, e.g. <http://www.wikidata.org/wiki/Special:EntityData/Q64.json>
In contrast, the canonical URI of the *concept* described by a Wikidata item
follows the form <https://www.wikidata.org/entity/Q64>.
I suggest to use format-agnostic canonical *description* URI for PuSH notifications.
The URI scheme is described at
<https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme>, but please note
that that document was a working draft, and some aspects may be outdated.
--
Daniel Kinzler
Senior Software Developer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.