And because not all family files work correctly (T111608), this breaks editing (because page.save() calls .botMayEdit())
Minimal test case:
valhallasw@maeglin:pywikibot-core$ python pwb.py shell -v -v master 0 The base directory is /home/valhallasw/src/pywikibot-core Pywikibot r64b2f078f92a4a8820889c386308cc9b100eeac6 Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] Welcome to the Pywikibot interactive shell! >>> import pywikibot >>> s = pywikibot.Site('ca', 'wikibooks') >>> p = pywikibot.Page(s, u'Plantilla:Progrés') >>> p.botMayEdit() Found 2 wikibooks:ca processes running, including this one. Found candidate wikibooks:af Found candidate wikibooks:ang Found candidate wikibooks:ar Found candidate wikibooks:az Found candidate wikibooks:en Found candidate battlestarwiki:en Found candidate wikibooks:be (...etc...)
This was caused by changes in 0e7ad5ac44ce7e1df758bf9924c14fa3fe70ad9f, probably by creating a Site object in the new from_url function.