Some other aspects: family files works like a cache for some settings including namespaces and its aliases and version strings. This leads to a very quick system but it is necessary to update these setting from time to time. I did it once a week in past or more until I switched to core completely. You may update family settings by yourself and might commit changes to gerrit if you want to. The version string is inside family.py. For namespaces you can use the maintenance script update_namespaces.py; it is not the best implementation due to some overlapping but good enough to handle with all namespaces again. I had a modified one to solve this problems but it is not good enough to publish it and with core branch I do not see any advantage to support it anymore.

Core uses all these information via api as you proposed. At a very early state this lead to a very slow system until cached requests where implemented. Anyway an Internet connection is almost needed using core.

Best
xqt

Am 21.08.2016 um 14:24 schrieb Merlijn van Deen (valhallasw) <valhallasw@arctus.nl>:

On 21 August 2016 at 11:55, BinĂ¡ris <wikiposta@gmail.com> wrote:
Once the bot can determine the version  namespaces on its own,  
* why does it take version and namespaces from family
Historical reasons. Mostly because this information was not easily available in the screen-scraping era, but also because it allows the bot to normalize page titles without connecting to the wiki.
 
* why does it complain instead of working?
Historical reasons. Mostly to make sure the family file is updated.
 
* what problem will I experience?
The bot might not understand links to newer namespaces. The version number is not likely to have any direct impact.

Merlijn
_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot