2017-10-16 07:50:56
|
<qgil>
|
Happy Monday! I was wondering whether there had been any discussion about... using Wikidata for Wikimedia users. Wikidata for the User: namespace.
|
2017-10-16 07:51:52
|
<qgil>
|
The idea being that users could describe themselves using Wikidata parameters, just like they describe themselves with natural language in their user pages.
|
2017-10-16 07:52:50
|
<qgil>
|
What I am after are queries like "users registered to the Wikimedia Hackathon 2018 that speak French and know Python". :)
|
2017-10-16 07:53:24
|
<qgil>
|
"Wikimedians who joined in 2016 and live in Andorra"
|
2017-10-16 07:54:53
|
<qgil>
|
Not all Wikimedians will be relevant enough for Wikidata proper, hence the idea of "Wikidata for the User namespace".
|
2017-10-16 07:55:40
|
<qgil>
|
(This might be a crazy idea in many ways. Then again, it is Monday morning in this part of the planet.)
|
2017-10-16 08:03:09
|
<qgil>
|
I see that the second line in "Create an item" says "Note: Don't create an item for your userpage. It will be deleted." So someone has thought about this, in a way. ;)
|
2017-10-16 08:06:29
|
<delphine>
|
qgil that would be so neat!
|
2017-10-16 08:06:38
|
<delphine>
|
I'm sure people are going to find that terrible.
|
2017-10-16 08:06:46
|
<delphine>
|
but I'd love to have something like this ;)
|
2017-10-16 08:07:18
|
<delphine>
|
but yeah, it is probably a Monday morning idea :)
|
2017-10-16 08:09:31
|
<qgil>
|
After a few more minutes of research, it seems that those who would not say it is a bad idea upfront, would say that Global Userpages should go first, as per https://www.wikidata.org/wiki/Wikidata:Requests_for_comment/Inclusion_of_non-article_pages#User_pages
|
2017-10-16 08:10:58
|
<qgil>
|
I am not a volunteer with plenty of time to discuss this idea, and how we could count Meta or Wikidata userpages only while those global userpages come (in 2030, with luck). ;)
|
2017-10-16 08:11:13
|
<qgil>
|
So yeah, Monday morning.
|
2017-10-16 08:11:19
|
<qgil>
|
Pity though.
|
2017-10-16 08:12:51
|
<delphine>
|
yeah ;)
|
2017-10-16 08:12:52
|
<qgil>
|
An alternative being Structured Data on Userpages. ;) Maybe I someone finds a donor willing to pay a grant for that.
|
2017-10-16 08:13:41
|
<delphine>
|
well what you're asking for really is a CRM for Wikimedians
|
2017-10-16 08:13:58
|
<delphine>
|
we're cruelly lacking this ;)
|
2017-10-16 08:14:02
|
<qgil>
|
Yes, exactly.
|
2017-10-16 08:14:48
|
<qgil>
|
I literally started looking at events management software and CRMs, until I thought that we could build upon wikidata and userpages instead.
|
2017-10-16 08:15:50
|
<qgil>
|
Based on this: https://phabricator.wikimedia.org/T165200
|
2017-10-16 10:35:53
|
<b_jonas>
|
qgil: yes, and also language links in user pages weren't imported when the mass imports of language links from wikipedia to wikidata was done
|
2017-10-16 11:43:11
|
<Lucas_WMDE>
|
yurik: did you see my updates in https://gerrit.wikimedia.org/r/#/c/383774/ (CSS → LESS)? If you’re okay with it, I’d be glad to merge that slightly updated version :)
|
2017-10-16 11:45:59
|
<yurik>
|
Lucas_WMDE, ah, sorry, missed that. just +1 it :)
|
2017-10-16 11:46:09
|
<Lucas_WMDE>
|
cool :)
|
2017-10-16 11:46:13
|
<yurik>
|
thanks!!!
|
2017-10-16 11:46:38
|
<Lucas_WMDE>
|
I think I’ll let Jonas_WMDE take another look as well, but I’m very happy with this now
|
2017-10-16 11:47:08
|
<Lucas_WMDE>
|
if we can get modern JavaScript syntax to work in the same way (no Babel necessary if the developer uses a modern browser), I’d really love that setup :)
|
2017-10-16 12:44:40
|
<maxi>
|
hello
|
2017-10-16 12:45:01
|
<Thiemo_WMDE>
|
leszek_wmde: I had to do a minor fixup in https://gerrit.wikimedia.org/r/383995 , now it lost your +2
|
2017-10-16 12:45:35
|
<leszek_wmde>
|
done
|
2017-10-16 12:48:23
|
<d3r1ck>
|
Hey Thiemo_WMDE, any plans with this: https://gerrit.wikimedia.org/r/#/c/370808/
|
2017-10-16 12:48:46
|
<d3r1ck>
|
we can continue here right: https://gerrit.wikimedia.org/r/#/c/367320/?
|
2017-10-16 12:51:34
|
<maxi>
|
i'm tryng to fetch wikidata enpoint with a remote query. but it does not respond
|
2017-10-16 12:52:30
|
<maxi>
|
is it the corrrect enpoint ? https://query.wikidata.org/
|
2017-10-16 12:53:23
|
<Lucas_WMDE>
|
maxi: the endpoint to actually run a sparql query is https://query.wikidata.org/sparql
|
2017-10-16 12:53:33
|
<Lucas_WMDE>
|
GET or POST with ?query=…
|
2017-10-16 12:57:03
|
<maxi>
|
i'm using post with arc2 library for php
|
2017-10-16 12:57:43
|
<Lucas_WMDE>
|
make sure that the POST body still is “query=SELECT …”, not just “SELECT …”
|
2017-10-16 13:01:59
|
<maxi>
|
ok
|
2017-10-16 13:05:18
|
<maxi>
|
What about the namespace ? in the query example there aren't prefixs
|
2017-10-16 13:05:52
|
<Lucas_WMDE>
|
most of the prefixes you need are pre-defined by default (though it doesn’t hurt to explicitly declare them either)
|
2017-10-16 13:06:22
|
<Lucas_WMDE>
|
that happens in the backend, not in the UI, so you can also omit the prefixes when directly using the endpoint
|
2017-10-16 13:09:19
|
<maxi>
|
thanks Lucas
|
2017-10-16 13:10:32
|
<Lucas_WMDE>
|
you’re welcome :)
|
2017-10-16 13:36:50
|
<pintoch>
|
Lucas_WMDE: I'm not sure my notification worked, so there you go: https://www.wikidata.org/wiki/Wikidata_talk:Primary_sources_tool#Rejecting_primary_sources_suggestions_based_on_constraint_violations.3F
|
2017-10-16 13:38:13
|
<Lucas_WMDE>
|
pintoch: looks like it didn’t work, not sure why
|
2017-10-16 13:38:17
|
<Lucas_WMDE>
|
anyways, I’ll reply
|
2017-10-16 14:20:07
|
<dries>
|
g
|