Page MenuHomePhabricator should only accept family names that are valid for pywikibot
Closed, ResolvedPublic


The script accepts family names that are later not usable for pywikibot which the throws an error:

Traceback (most recent call last):
  File "", line 229, in <module>
  File "", line 106, in run_python_file
  File "", line 481, in <module>
  File "", line 473, in main
  File "", line 311, in create_user_config
    main_family, main_code, main_username, force=force))]
  File "", line 126, in get_site_and_lang
    fam =
  File "/root/pywikibot/pywikibot/tools/", line 1819, in wrapper
    return obj(*__args, **__kw)
  File "/root/pywikibot/pywikibot/", line 1010, in load
    'Name of family %s must be ASCII characters and digits' % fam
AssertionError: Name of family madgn_it must be ASCII characters and digits

Event Timeline

Change 633805 had a related patch set uploaded (by Mpaa; owner: Mpaa):
[pywikibot/core@master] [bugfix] accept only valid names in

Change 633805 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] accept only valid names in

Xqt assigned this task to Mpaa.