https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
Web browser: --- Bug ID: 55005 Summary: Create pagegenerators for Wikidata (items from file, items using a given property, items linking to items, etc) Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/341/ Reported by: apac1 Created on: 2013-08-29 03:50:31.994000 Subject: Create pagegenerators for Wikidata (items from file, items using a given property, items linking to items, etc) Assigned to: legoktm Original description: Currently pagegenerators.py doesn't seem to work for Wikidata. Either existing generators would need to be adapted or new ones created.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- What do you mean? The pagegenerators work exactly the same. Can you please provide a code sample for something that doesn't work?
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Something like
pwb.py claimit -ref:"Property:P1234" P123 Q1234567 -namespace:0
throws an error:
pywikibot.data.api.APIError: param-missing: Either provide the item "ids" or pairs of "sites" and "titles" for corresponding pages.
Maybe it was fixed in last weeks update.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Actually, it also has
WARNING: API warning (wbgetentities): Unrecognized value for parameter 'sites': wikidatawiki
config is set with:
family = 'wikidata' mylang = 'wikidata'
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: Legoktm
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Ok, I see the issue here. claimit.py was designed to be run on a client site, not on the datasite itself. I'll get around to fixing this soon.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/feature-reque | |sts/341
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
Nemo federicoleva@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |Wikidata
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |info@gno.de
https://bugzilla.wikimedia.org/show_bug.cgi?id=55005
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal CC| |jayvdb@gmail.com Version|unspecified |core (2.0)
pywikipedia-bugs@lists.wikimedia.org