Hi everyone,
This change is relevant for everyone who uses the JSON serialization of
Lexeme, Form or Sense entities.
Currently, when a Lexeme Form or Sense has no statements stored, it is
rendered as an empty array [] in JSON. (Example <
https://www.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=L38…>).
We want to serialize it as an empty object {} instead. This change will
ease the deserialization process and bring more consistency in our code as
nonempty statements are already serialized as objects, not arrays.
The impact of this change will be in the output of wbgetentities and
editing APIs, as well as Special:EntityData and the Lexeme JSON dumps.
If you’re maintaining tools that use lexicographical data, you may want to
check your code to make sure that it reflects this change, e.g. lexeme
forms or senses with no statements are properly deserialized by your tool.
This change is available for testing at test.wikidata.org before deployment
to www.wikidata.org. You are welcome to give us general feedback by leaving
a comment in this ticket <https://phabricator.wikimedia.org/T241422>.
If you have any questions please do not hesitate to ask.
Cheers,
--
Mohammed Sadat
*Community Communications Manager for Wikidata/Wikibase*
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de
Keep up to date! Current news and exciting stories about Wikimedia,
Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now
<https://www.wikimedia.de/newsletter/>.
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de
Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
We hereby announce that the Wikibase Spring Release has been published
<https://releases.wikimedia.org/wikibase/1.35/>.
Here are links to important documentation related to the release:
-
The full release notes
<https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibas…>
-
Installation instructions <https://www.mediawiki.org/wiki/Wikibase/Suite>
(manual installation)
-
Installation instructions
<https://www.mediawiki.org/wiki/Wikibase/Docker> (Docker)
-
Updating your Wikibase
<https://github.com/wmde/wikibase-release-pipeline/blob/main/docs/topics/upg…>
(Docker)
As previously mentioned, this new release is compatible with MediaWiki 1.35
and contains new Wikibase features:
-
Federated Properties
<https://doc.wikimedia.org/Wikibase/master/php/md_docs_components_repo-feder…>
: a feature that allows a newly created Wikibase instance to use the
existing Properties of Wikidata or another Wikibase. Please note that this
feature has some limitations: once you’ve enabled federation mode, you can
no longer create local properties. We recommend not enabling it in Wikibase
instances that already contain properties.
-
WikibaseManifest
<https://www.mediawiki.org/wiki/Extension:WikibaseManifest>: the new
release is compatible with this extension made by Wikimedia Deutschland
which exposes automatically discovered configuration information about your
local Wikibase for use by external tools.
-
Wikibase Pingback:
<https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_pingback.html>
a feature that allows Wikibase operators to opt in to sharing anonymized
data about their Wikibase instance with Wikimedia. This completely optional
feature helps us to understand the usage of Wikibase by collecting which
versions of MediaWiki are in use, on what platforms, and which Wikibase
features and extensions are enabled. The Pingback Privacy Statement
<https://www.mediawiki.org/wiki/WMDE_Engineering/Wikibase/Pingback_Privacy_S…>contains
the full disclosure about what information is being collected.
We would also like to highlight that the new and improved Docker images now
contain even more useful components <https://hub.docker.com/u/wikibase>,
such as extensions that were requested for inclusion by the community.
If you have any questions, please don’t hesitate to ask.
Cheers,
--
Mohammed Sadat
*Community Communications Manager for Wikidata/Wikibase*
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de
Keep up to date! Current news and exciting stories about Wikimedia,
Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now
<https://www.wikimedia.de/newsletter/>.
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de
Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.