XZise added a comment.

Now that code was afaik added recently and if I understand it correctly that 
`TypeError` happened when it tried to create a `APISite` instance by using 
`Site(url=)`. Unfortunately when I ran it I couldn't reproduce it:

  $ python pwb.py cosmetic_changes.py -family:wiktionary -lang:cs -page:Adelaide
  ATTENTION: You can run this script as a stand-alone for testing purposes.
  However, the changes that are made are only minor, and other users
  might get angry if you fill the version histories and watchlists with such
  irrelevant changes. Some wikis prohibit stand-alone running.
  Do you really want to continue? ([y]es, [N]o): y
  Password for user XZise on wiktionary:cs (no characters will be shown): 
  Logging in to wiktionary:cs as XZise
  Retrieving 1 pages from wiktionary:cs.
  
  
  >>> Adelaide <<<
  WARNING: Error in Family(ffwiki).from_url: Family(ffwiki): matched regex has 
not matched a domain in langs
  @@ -59 +59 @@
  - [[zh:Adelaide]]
  + [[zh:Adelaide]]
  
  Edit summary: Robot: kosmetické úpravy
  Do you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): q

Both on Python 2.7.10 and 3.4.3. The warning regarding ffwiki is unrelated. 
Does this command reproduce the error for you?


TASK DETAIL
  https://phabricator.wikimedia.org/T112449

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise
Cc: XZise, Danny_B, Aklapper, pywikibot-bugs-list, JAnD



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to