Multichill added a comment.
Any news on this? Should we just start by setting up automatic documentation and start expanding documentation per function/class?
TASK DETAIL
https://phabricator.wikimedia.org/T66846
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb, Multichill
Cc: Xqt, jayvdb, valhallasw, Ricordisamoa, Multichill, Ladsgroup, Spage, pywikipedia-bugs
Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: Pywikibot-solve-disambiguation.py.
Xqt changed Security from none to none.
TASK DESCRIPTION
c:\Pywikipedia\ssh\pywikibot\core>pwb.py solve_disambiguation -just -pos:"Foo" Adler -simulate -lang:pdc
Possibility Foo does not actually exist. Use it anyway? ([y]es, [N]o) y
0 - Aadler
1 - Foo
Found 2 references.
Will work on 2 pages.
Retrieving 2 pages from wikipedia:pdc.
Traceback (most recent call last):
File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 221, in <module>
run_python_file(filename, argv, argvu, file_package)
File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 80, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 1121, in <module>
main()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 1117, in main
bot.run()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 1012, in run
self.treat(refPage, disambPage)
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 647, in treat
already_dn = text[m.end():m.end() + 8].find(dn_template_str[:4]) > -1
TypeError: 'NoneType' object has no attribute '__getitem__'
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
TASK DETAIL
https://phabricator.wikimedia.org/T78521
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikipedia-bugs