tried simple:
for t in pages: p = wikipedia.Page(site, t) p._moveOld("Wikipedysta:Joymaster/%s" % t, reason=action, sysop=True, leaveRedirect=False)
Traceback (most recent call last): File "kalendariumwp.py", line 31, in <module> p._moveOld("Wikipedysta:Joymaster/%s" % t, reason=action, sysop=True, leaveRedirect=False) File "/home/admini/saper/wikipedia/pywikipedia/wikipedia.py", line 2772, in _moveOld self.get(force=True, get_redirect=True, throttle=False) File "/home/admini/saper/wikipedia/pywikipedia/wikipedia.py", line 684, in get self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop) File "/home/admini/saper/wikipedia/pywikipedia/wikipedia.py", line 758, in _getEditPage raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page does not exist. In rare cases, if you are certain the page does exist, look into overriding family.RversionTab" ) wikipedia.NoPage: (wikipedia:pl, u'[[pl:Kalendarium Wojska Polskiego 1919]]', 'Page does not exist. In rare cases, if you are certain the page does exist, look into overriding family.RversionTab')
There is obviously nothing to get, as nothing is left with the old name (not even a redirect).