Logo of Wikidata

Welcome to Wikidata, Seb35!

Wikidata is a free knowledge base that you can edit! It can be read and edited by humans and machines alike and you can go to any item page now and add to this ever-growing database!

Need some help getting started? Here are some pages you can familiarize yourself with:

  • Introduction – An introduction to the project.
  • Wikidata tours – Interactive tutorials to show you how Wikidata works.
  • Community portal – The portal for community members.
  • User options – including the 'Babel' extension, to set your language preferences.
  • Contents – The main help page for editing and using the site.
  • Project chat – Discussions about the project.
  • Tools – A collection of user-developed tools to allow for easier completion of some tasks.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

If you have any questions, don't hesitate to ask on Project chat. If you want to try out editing, you can use the sandbox to try. Once again, welcome, and I hope you quickly feel comfortable here, and become an active editor for Wikidata.

Best regards! — Arkanosis 11:29, 28 February 2013 (UTC)Reply

Merci ! Seb35 (talk) 11:44, 28 February 2013 (UTC)Reply

sortValues modification edit

Hi, per "If you want other properties be sorted, ask me" at your tool description, I would like to ask if it would be possible to make the script sort Elo rating (P1087) values according to the date qualifier. See Vereslav Eingorn (Q2062580) for a chess player that has elo ratings unsorted). Thank you. --Wesalius (talk) 12:28, 24 October 2016 (UTC)Reply

Hi. May I spawn in for a small comment: I noticed that sometimes Elo ratings were added without date by the bot. I removed these ratings (e.g. [1], [2], [3]). I would suggest to first import ratings completely (i.e. back to 1972), then check if every rating is there, and then sort. Because otherwise if you sort now, you would have to sort at a later stage again. Right? Steak (talk) 14:17, 24 October 2016 (UTC)Reply
I do not know how exactly the script works, but I think the values get sorted every time you visit the item page (it doesnt write to wd) and therefore it doesnt matter if you would add that functionality now or anytime else. --Wesalius (talk) 14:33, 24 October 2016 (UTC)Reply
@Wesalius @Steak: Yes, Wesalius is right, the script doesn’t write on Wikidata, it only sorts the values when the page is loaded -- so I let you manage the editorial thing.
About the request, I don’t see after a quick study how to sort by date because the dates are written in the local language (French for me), so hard to use it programmatically. I will search if there is another way, perhaps with the API (if you have any idea, please say it). I will not have time this week, but I will work/search on it next week. Seb35 (talk) 22:05, 24 October 2016 (UTC)Reply
Actualy the dates in the database are stored in values such as "+1840-01-01T00:00:00Z/09" and the UI renders it to users language. I do not know if your script takes the actual value or the one that is shown to the user... --Wesalius (talk) 04:36, 25 October 2016 (UTC)Reply
Ok, I didn’t know how it is stored. My script currently only use the UI output and does not use the exact database extract, so probably a better solution is to use the API. Seb35 (talk) 09:36, 29 October 2016 (UTC)Reply

sortValues tools edit

Salut Seb35, comme dit dans ce fil, je regrette l'affichage par défaut de la page d'un Qid. J'ai activé ton script de sort values et je ne vois pas l'effet sur la page https://www.wikidata.org/wiki/Q381#P348 ? Sinon, je me demandais si tu avais moyen d'avoir en sorte que P3872 s'affiche avec un tri sur la date P585 (précision année, puis année-mois, puis date) ? Bouzinac (talk) 22:10, 11 March 2020 (UTC)Reply