Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1507/
Reported by: @Malafaya
Created on: 2012-08-31 15:13:10
Many Wiktionaries use language code prefixes in categories. I tried executing:
$ python pwb.py category.py -lang:en -family:wiktionary -simulate -inplace move Please enter the old name of the category: Aba nouns Please enter the new name of the category: mk:B SIMULATION: move action blocked. SIMULATION: edit action blocked. Page [[Категорија:B]] saved Retrieving 1 pages from wiktionary:en. ERROR: [[nie]] is not in category Category:Aba nouns!
Result: Pages will be moved from Category:A to Category:B, not Category:mk:B\! "mk:" is being considered as the wiki interlanguage prefix.
Occurred on compat:
$ pwb.py version.py Pywikipedia trunk/pywikipedia/ (r10504, 2012/08/23, 10:22:31) Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok
And core:
$ python pwb.py version Pywikibot: [https] r-pywikibot-core (8ba737a, g6804, 2015/12/10, 14:27:36, OUTDATED) Release version: 2.0b3 requests version: 2.7.0 cacerts: /usr/lib/python2.7/site-packages/certifi/cacert.pem certificate test: ok Python: 2.7.10 (default, Sep 24 2015, 17:50:09) [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] ...