Hello all,
We’re planning to add JSON-LD as a serialization format for Wikidata. This
will allow for example an easier access to RDF data from Javascript.
This is now deployed on https://wikidata.beta.wmflabs.org. Example:
https://wikidata.beta.wmflabs.org/wiki/Special:EntityData/Q64.jsonld
As with the other formats we already support (like turtle or rdf/xml),
content negotiation is used if the format is not indicated by a suffix like
.jsonld. The MIME type that can be used in the Accept header to request
JSON-LD output is application/ld+json.
If you’re interested in this feature, please test it, and let us know if
you find any issues. The related ticket is this one
<https://phabricator.wikimedia.org/T207168>. If everything goes as planned,
we will enable it to wikidata.org on October 31st.
Cheers,
--
Léa Lacroix
Project Manager Community Communication for Wikidata
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
// sorry for cross-posting
Hello everyone,
the Technical Advice IRC Meeting [1] is taking a 4-week break. The next
meeting will take place in 2019, on January 16.
Also, please take note that there’ll be only one time slot for the
Technical Advice IRC Meeting in 2019: 4 pm UTC.
See you in 2019!
Johanna (for the Technical Advice IRC Meeting crew)
[1] https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
Hello,
tag_summary table was introduced in 2009 as a roll up table for change_tag.
One of the reasons it was being used was that MySQL databases that were
using earlier versions of 4.1 (Released at 15 February 2005) could not use
GROUP_CONCAT feature.
Around five years ago, developers started to replace usages of tag_summary
with change_tag primarily because GROUP_CONCAT became available then and it
most cases it was faster. For example [1] but it wasn't done fully which
led us to having discrepancies. For example, Special:RecentChanges uses
change_tag table but its API counterpart uses tag_summary table.
Maintaining two extremely large tables is a technical debt that have been
biting us since its deployment. Also, with normalization of change_tag
table in place [2], it's more performant than tag_summary.
So we are replacing usages of this table with change_tag and in the next
couple of weeks, and then we will drop the whole table. If you're using it
in cloud replicas, please change it to change_tag. If you have any concerns
or notes, feel free to chime in at https://phabricator.wikimedia.org/T209525
(Also, review of the patches would be extremely appreciated)
Thank you and sorry for any inconvenience.
[1]: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/95584
[2]: https://phabricator.wikimedia.org/T185355
Best
--
Amir Sarabadani
Software Engineer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
http://wikimedia.de
Stellen Sie sich eine Welt vor, in der jeder Mensch an der Menge allen
Wissens frei teilhaben kann. Helfen Sie uns dabei!
http://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.
Reminder: Technical Advice IRC meeting again **Wednesday 4-5 pm UTC** on
#wikimedia-tech.
Question can be asked in English & German.
The Technical Advice IRC Meeting is a weekly support event for volunteer
developers. Every Wednesday, two full-time developers are available to help
you with all your questions about Mediawiki, gadgets, tools and more! This
can be anything from "how to get started" over "who would be the best
contact for X" to specific questions on your project.
If you know already what you would like to discuss or ask, please add your
topic to the next meeting:
https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
Hope to see you there!
Michi (for the Technical Advice IRC Meeting crew)
--
Michael F. Schönitzer
Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
http://wikimedia.de
Stellen Sie sich eine Welt vor, in der jeder Mensch an der Menge allen
Wissens frei teilhaben kann. Helfen Sie uns dabei!
http://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/681/51985.
Hi,
I just noted that the official description of the Wikibase data model at
https://www.mediawiki.org/wiki/Wikibase/DataModel
and the description of JSON serialization lack a description of Lexemes,
Forms, and Senses. The documentation of Wikibase RDF has been updated
but the underlying data model description seems outdated.
At least JSON specification is part of Wikibase source code:
https://phabricator.wikimedia.org/diffusion/EWBA/history/master/docs/json.w…
A more formal document (e.g. JSON Schema) may help to detect when
implementation and documentatation get out of sync.
Jakob
--
Jakob Voß <jakob.voss(a)gbv.de>
Verbundzentrale des GBV (VZG) / Common Library Network
Platz der Goettinger Sieben 1, 37073 Göttingen, Germany
+49 (0)551 39-10242, http://www.gbv.de/
Users of the Wikibase API who need to format many entity IDs (e. g. in
QuickStatements, Wikidata Graph Builder, Wikidata Recent Changes, or
Wikidata Reconciliation) can now use a new API module for this:
wbformatentities. It combines advantages of wbgetentities and wbformatvalue:
as in wbformatvalue, you can use Wikibase’ own logic for formatting
entities (so you don’t have to worry about downloading labels, applying
language fallbacks, dealing with other entity types like lexemes, etc.),
but as in wbgetentities, you can process large numbers of entities at once,
instead of making one API call per entity.
The module is currently kept very simple: you specify a list of entity IDs
with the ids parameter, and the API returns a list of HTML snippets
corresponding to those IDs. (Support for other output formats may be added
later; let us know if it would be useful to you.) The language can be
controlled via the global uselang parameter. Normal users can format up to
50 entities at once, bots up to 500.
Please let us know if you have any comments, either by responding here or
over on Phabricator at T207484 <https://phabricator.wikimedia.org/T207484>.
-- Lucas
--
Lucas Werkmeister
Full Stack Developer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de
Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.
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.
Reminder: Technical Advice IRC meeting again **Wednesday at 4-5 pm UTC AND
11-12 pm UTC** on #wikimedia-tech.
The Technical Advice IRC Meeting (TAIM) is a weekly support event for
volunteer developers. Every Wednesday, two full-time developers are
available to help you with all your questions about Mediawiki, gadgets,
tools and more! This can be anything from "how to get started" over "who
would be the best contact for X" to specific questions on your project.
If you know already what you would like to discuss or ask, please add your
topic to the next meeting:
https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
Hope to see you there!
Michi (for the Technical Advice IRC Meeting crew)
--
Michael F. Schönitzer
Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
http://wikimedia.de
Stellen Sie sich eine Welt vor, in der jeder Mensch an der Menge allen
Wissens frei teilhaben kann. Helfen Sie uns dabei!
http://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/681/51985.