Re: [Wikidata-l] Python bot framework for wikidata

2014-08-29 Thread Maarten Dammers

Don't use compat, use core.

Amir Ladsgroup schreef op 29-8-2014 2:27:

Hey,
It's pywikibot: https://www.mediawiki.org/wiki/PWB
Both branches support Wikidata

Best

On 8/29/14, Benjamin Good ben.mcgee.g...@gmail.com wrote:

Which python framework should a new developer use to make a wikidata
editing bot?

thanks
-Ben






___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Structured Data on Commons

2014-08-29 Thread Guillaume Paumier
Greetings,

Please note that the time of the IRC chat was changed to 18:00 (UTC)
i.e. one hour earlier than previously announced. (
https://commons.wikimedia.org/w/index.php?diff=nextoldid=132667852 )

You can see how it converts to your timezone using this tool:
http://www.timeanddate.com/worldclock/fixedtime.html?msg=Structured+Data+IRC+discussioniso=20140903T18ah=1

On Fri, Aug 22, 2014 at 10:48 AM, Fabrice Florin fflo...@wikimedia.org wrote:
 Greetings!

 We invite you to join a discussion about Structured Data on Commons, to help
 us plan our next steps for this project.

 The Structured Data initiative proposes to store and retrieve information
 for media files in machine-readable data on Wikimedia Commons, using
 Wikidata tools and practices, as described on our new project page (1).

 The purpose of this project is to make it easier for users to read and write
 file information, and to enable developers to build better tools to view,
 search, edit, curate and use media files. To that end, we propose to
 investigate this opportunity together through community discussions and
 small experiments. If these initial tests are successful, we would develop
 new tools and practices for structured data, then work with our communities
 to gradually migrate unstructured data into a machine-readable format over
 time.

 The Multimedia team and the Wikidata team are starting to plan this project
 together, in collaboration with many community volunteers active on
 Wikimedia Commons and other wikis. We had a truly inspiring roundtable
 discussion about Structured Data at Wikimania a few weeks ago, to define a
 first proposal together (2).

 We would now like to extend this discussion to include more community
 members that might benefit from this initiative. Please take a moment to
 read the project overview on Commons, then let us know what you think, by
 answering some of the questions on its talk page (3).

 We also invite you to join a Structured Data QA on Wednesday September 3 at
 19:00 UTC, so we can discuss some of the details live in this IRC office
 hours chat. Please RSVP if you plan to attend (4).

 Lastly, we propose to form small workgroups to investigate workflows, data
 structure, research, platform, features, migration and other open issues. If
 you are interested in contributing to one of these workgroups, we invite you
 to sign up on directly on our hub page (5) -- and help start a sub-page for
 your workgroup.

 We look forward to some productive discussions with you in coming weeks. In
 previous roundtables, many of you told us this is the most important
 contribution that our team can make to support multimedia in coming years.
 We heard you loud and clear and are happy to devote more resources to bring
 it to life, with your help.

 We are honored to be working with the Wikidata team and talented community
 members like you to take on this challenge, improve our infrastructure and
 provide a better experience for all our users.

 Onward!


 Fabrice — for the Structured Data team


 (1) Structured Data Hub on Commons:
 https://commons.wikimedia.org/wiki/Commons:Structured_data

 (2) Structured Data Slides:
 https://commons.wikimedia.org/wiki/File:Structured_Data_-_Slides.pdf

 (3) Structured Data Talk Page:
 https://commons.wikimedia.org/wiki/Commons_talk:Structured_data

 (4) Structured Data QA (IRC chat on Sep. 3):
 https://commons.wikimedia.org/wiki/Commons:Structured_data#Discussions

 (5) Structured Data Workgroups:
 https://commons.wikimedia.org/wiki/Commons:Structured_data#Workgroups


 ___

 Fabrice Florin
 Product Manager, Multimedia
 Wikimedia Foundation

 https://www.mediawiki.org/wiki/User:Fabrice_Florin_(WMF)


-- 
Guillaume Paumier

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Linking to Wikipedia page using Wikidata ID

2014-08-29 Thread David Cuenca
Hi Nick,

I have opened this bug report where you can subscribe or add your use case
(if you think my suggestion is not appropriate):
https://bugzilla.wikimedia.org/show_bug.cgi?id=70159

There is also this related enhancement proposal for error handling:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70127

Regards,
Micru


On Thu, Aug 28, 2014 at 2:08 PM, Nicholas Humfrey 
nicholas.humf...@bbc.co.uk wrote:

  Fantastic, thanks!

  Could you put linking to the user's preferred language (Accept-Language
 header?) on the backlog?

  nick.


   From: David Cuenca dacu...@gmail.com
 Reply-To: Discussion list for the Wikidata project. 
 wikidata-l@lists.wikimedia.org
 Date: Thursday, 28 August 2014 12:59
 To: Discussion list for the Wikidata project. 
 wikidata-l@lists.wikimedia.org
 Subject: Re: [Wikidata-l] Linking to Wikipedia page using Wikidata ID

 Hi Nick,

 You are lucky, that feature has been released this week:
 https://www.wikidata.org/wiki/Special:GoToLinkedPage

  For instance
 https://www.wikidata.org/wiki/Special:GoToLinkedPage/enwiki/Q732383

  Cheers,
  Micru


 On Thu, Aug 28, 2014 at 12:52 PM, Nicholas Humfrey 
 nicholas.humf...@bbc.co.uk wrote:

  Hello,

  We have been working on associating every episode of BBC Desert Island
 Discs to a Wikipedia page about that person.

  Example:
 http://www.bbc.co.uk/programmes/p0093x3l
 http://en.wikipedia.org/wiki/David_Croft
 https://en.wikipedia.org/wiki/David_Croft
 http://www.wikidata.org/wiki/Q2072654
 https://www.wikidata.org/wiki/Q2072654

  Since we created some of the links to Wikipedia, those pages have
 changed into disambiguation pages. Is it possible to link to a Wikipedia
 page using the Wikidata ID, via some kind of redirect URL? Thus ensuring
 that we continue to link to the correct article?

  Ideally it would even link to the users preferred language…


  Thanks!

  nick.


 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




 --
 Etiamsi omnes, ego non

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




-- 
Etiamsi omnes, ego non
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Fwd: [OSM-talk] Adding Wikidata tags to 70k items automatically

2014-08-29 Thread Enock Seth Nyamador
:)

- Enock
On Aug 27, 2014 9:35 PM, James Heald j.he...@ucl.ac.uk wrote:

 Conversion?

 We will all be assimilated :-)

   -- J.


 On 27/08/2014 21:35, Enock Seth Nyamador wrote:

 James the conversation is going on OSM list and I see Andy too. He should
 be here soon. :)

 *Sorry for typo.*

 - Enock


 On Wed, Aug 27, 2014 at 8:34 PM, Enock Seth Nyamador kwadzo...@gmail.com
 
 wrote:

  Would it be possible to associate the items with maps they may be on ?

 Gerald, this will be awesome!

 Props to our own Andy Mabbett (well, I guess we share him with OSM) for
 coming up with the idea for this and getting together with Edward to make
 it work.

 James the conversion is going on OSM list and I see Andy too. He should
 be
 here soon. :)


 - Enock


 On Wed, Aug 27, 2014 at 8:07 PM, James Heald j.he...@ucl.ac.uk wrote:

  Props to our own Andy Mabbett (well, I guess we share him with OSM) for
 coming up with the idea for this and getting together with Edward to
 make
 it work.

 Starting with a hack at the Wikimania hackathon, which produced the
 first
 few dozen examples in time for Andy's OSM talk at Wikimania, it's truly
 impressive to see 70,000 matches now good to go; plus presumably a
 number
 of other interesting cases (eg the HMS Belfast example in Andy's talk)
 where this is identifying hits needing disambiguation and/or other data
 improvement on either Wikidata or OSM.

-- James.



 On 27/08/2014 18:15, Cristian Consonni wrote:

  This may be of interest here.

 Cristian


 -- Forwarded message --
 From: Edward Betts edw...@4angle.com
 Date: 2014-08-27 18:47 GMT+02:00
 Subject: [OSM-talk] Adding Wikidata tags to 70k items automatically
 To: t...@openstreetmap.org


 I've written some code to match items in Wikidata with items in OSM.
 Currently
 I have found 70,849 unique matches, where there is a one-to-one mapping
 between OSM and Wikidata objects.

 I'd like to annotate these 70k objects in OSM with a Wikidata tag
 automatically.

 For example:

 Way: Piper's Orchard (43246411)
 http://www.openstreetmap.org/way/43246411

 And on Wikidata: https://www.wikidata.org/wiki/Q7197307

 I would like to add wikidata=Q7197307 to Piper's Orchard.

 The code to find the matches is here:

 https://github.com/edwardbetts/osm-wikidata

 Matching criteria:

 https://github.com/EdwardBetts/osm-wikidata/blob/
 master/entity_types.json

 The results are here:

 http://edwardbetts.com/osm-wikidata/

 The best approach is probably to update 100 items with wikidata tags,
 then
 we can check them to make sure the edit looks good. If everything is
 fine I
 can go ahead and load the other 70k.

 Does anybody have a strong preference that the edits are split up by
 region,
 or loaded in batches?

 Any objections?

 I've read https://wiki.openstreetmap.org/wiki/Mechanical_Edit_Policy -
 if
 there are no major objections I'll go ahead and create
 https://wiki.openstreetmap.org/wiki/Mechanical_Edits/edward

 See also:

 http://wiki.openstreetmap.org/wiki/Proposed_features/Wikidata
 http://wiki.openstreetmap.org/wiki/Wikidata
 http://wiki.openstreetmap.org/wiki/Key:wikidata

 Edward.

 ___
 talk mailing list
 t...@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l






 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Python bot framework for wikidata

2014-08-29 Thread Amir Ladsgroup
Yes, Core has better support

Best

On 8/29/14, Maarten Dammers maar...@mdammers.nl wrote:
 Don't use compat, use core.

 Amir Ladsgroup schreef op 29-8-2014 2:27:
 Hey,
 It's pywikibot: https://www.mediawiki.org/wiki/PWB
 Both branches support Wikidata

 Best

 On 8/29/14, Benjamin Good ben.mcgee.g...@gmail.com wrote:
 Which python framework should a new developer use to make a wikidata
 editing bot?

 thanks
 -Ben




 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



-- 
Amir

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


[Wikidata-l] Delete name from lists

2014-08-29 Thread Charlie Barb

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Python bot framework for wikidata

2014-08-29 Thread Benjamin Good
Thanks very much.  Given the importance of bots in wikidata, it would be
great if this key nugget of information could somehow be made obvious to
developers looking at the wikidata site.  I asked after me and several
other folks did a fair amount of failed digging.  Not sure the best place
to put it?

cheers
-Ben


On Fri, Aug 29, 2014 at 7:26 AM, Amir Ladsgroup ladsgr...@gmail.com wrote:

 Yes, Core has better support

 Best

 On 8/29/14, Maarten Dammers maar...@mdammers.nl wrote:
  Don't use compat, use core.
 
  Amir Ladsgroup schreef op 29-8-2014 2:27:
  Hey,
  It's pywikibot: https://www.mediawiki.org/wiki/PWB
  Both branches support Wikidata
 
  Best
 
  On 8/29/14, Benjamin Good ben.mcgee.g...@gmail.com wrote:
  Which python framework should a new developer use to make a wikidata
  editing bot?
 
  thanks
  -Ben
 
 
 
 
  ___
  Wikidata-l mailing list
  Wikidata-l@lists.wikimedia.org
  https://lists.wikimedia.org/mailman/listinfo/wikidata-l
 


 --
 Amir

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Python bot framework for wikidata

2014-08-29 Thread Lydia Pintscher
On Fri, Aug 29, 2014 at 6:28 PM, Benjamin Good ben.mcgee.g...@gmail.com wrote:
 Thanks very much.  Given the importance of bots in wikidata, it would be
 great if this key nugget of information could somehow be made obvious to
 developers looking at the wikidata site.  I asked after me and several other
 folks did a fair amount of failed digging.  Not sure the best place to put
 it?

There is https://www.wikidata.org/wiki/Wikidata:Bots which is the
first hit on Google for me when searching for bots wikidata. Maybe
it needs to be linked more on the site itself though.


Cheers
Lydia

-- 
Lydia Pintscher - http://about.me/lydia.pintscher
Product Manager 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/681/51985.

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Python bot framework for wikidata

2014-08-29 Thread Derric Atzrott
 There is https://www.wikidata.org/wiki/Wikidata:Bots which is the
 first hit on Google for me when searching for bots wikidata. Maybe
 it needs to be linked more on the site itself though.

I may just be blind, but it actually doesn't look like that page
mentions pywikibot anywhere.  I wonder if he may have found that
page, but it didn't answer all of the questions he had?

Thank you,
Derric Atzrott


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Python bot framework for wikidata

2014-08-29 Thread Benjamin Good
It does, but only on the very bottom with a see also.

Somehow I ended up on
https://github.com/jcreus/pywikidata
first.

which is two years out of date and very similarly named..
-ben



On Fri, Aug 29, 2014 at 10:17 AM, Derric Atzrott 
datzr...@alizeepathology.com wrote:

  There is https://www.wikidata.org/wiki/Wikidata:Bots which is the
  first hit on Google for me when searching for bots wikidata. Maybe
  it needs to be linked more on the site itself though.

 I may just be blind, but it actually doesn't look like that page
 mentions pywikibot anywhere.  I wonder if he may have found that
 page, but it didn't answer all of the questions he had?

 Thank you,
 Derric Atzrott


 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l