Il 22/05/2015 17:30, Andy Mabbett ha scritto:
On 8 April 2015 at 00:18, Ricordisamoa
<ricordisamoa(a)openmailbox.org> wrote:
I'd like to announce a new Labs tool to show
a periodic table.
It is based on WikiPeriod's PHP code (in turn ported from JavaScript) and
features several improvements:
This is very impressive; thank you!
for labels, Wikidata's built-in language
fallback is used instead of just
falling back to English;
I'm not sure what you mean, here. Are you suggesting
that
tools.wmflabs.org knows what my Wikidata language preferences are?
No. It tries to detect /your browser/'s preferred language and send it
to Wikidata, which would apply its own fallback rules (e.g. if the
Neapolitan label can't be found, it returns the Italian one).
Also, I have some suggestions:
* A drop down to change the language of labels, as demonstrated on
QLabel - <http://googleknowledge.github.io/qlabel/>
Thanks for the suggestion: filed T100045
<https://phabricator.wikimedia.org/T100045>.
But you can already change language right now, see
https://tools.wmflabs.org/ptable/?lang=ga for an example.
* When possible (e.g. on a mobile device), use the device's
preferred language (as done by QRpedia)
It's already possible not only on mobile devices, as I wrote above.
* Instead of linking to Wikidata items, link to Wikipedia articles
in the chosen language (or link to Resonator)
Created T100046 <https://phabricator.wikimedia.org/T100046>.