I've started to work with wikidata few days ago and have found out, that in rewrite branch ItemPage.fromPage haven't worked properly, so I had started digging in code and made small patch, which should resolve this issue.

The code is available here: https://github.com/magul/pywikibot-core/tree/ItemPageFromPage

Could be it merged to rewrite branch? What should I do to make it happen?

Thanks for answer in advance

Tomasz Magulski