User "Huji" posted a comment on pywikipedia.r9289.

Full URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9289#c17660
Commit summary:

When a list is returned for the namespace, the first element of the list is the 
actual namespace name. Before this change, bot threw error messages when used 
on a wiki with custom namespaces

Comment:

Simply put, when the dict (and not a string) was passed to the defaults, the 
bot crashed. This change ensures that the elements of defaults are all strings.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to