I agree but one question:
1- Currently for defining an item we work this way [1]
item = pywikibot.ItemPage.fromPage(page)

So Do you mean after the change we need to something like this?:
item = pywikibot.wikibase.ItemPage.fromPage(page)
or "from pywikibot import wikibase"

or It's just a backend change and no difference in frontend?

[1] 
https://www.mediawiki.org/wiki/Manual:Pywikipediabot/Wikidata#Working_with_pywikibot.2Fcore_.28former_rewrite_branch.29

Best

On 6/1/14, John Mark Vandenberg <[email protected]> wrote:
> On Jun 1, 2014 7:42 AM, "Ricordisamoa" <[email protected]>
> wrote:
>>
>> How about creating a wikibase.py file in the pywikibot/ directory to
> contain DataSite, WikibasePage, ItemPage, Claim, WbTime, WbQuantity, etc.?
>>
>
> Sounds good to me
>


-- 
Amir

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to