jayvdb added a comment.
Split it into two files, pywikibot/README.rst and scripts/README.rst .
Ensure they are formatted as RST files (restructured text)
TASK DETAIL
https://phabricator.wikimedia.org/T66847
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
Cc: Ricordisamoa, gerritbot, droid, jayvdb, valhallasw, Mpaa, 01tonythomas, Spage, pywikipedia-bugs
jayvdb added a subscriber: jayvdb.
jayvdb added a comment.
How do we use/test this?
After installing the irclib package, the bot starts up with
$ python pwb.py scripts/maintainer/maintcont.py
WARNING: Type of 'console_encoding' changed
Was: <type 'str'>
Now: <type 'unicode'>
worker list:
--------------------
I can then see that 'maintcont' has joined irc.freenode.net
/msg maintcont active
/msg maintcont workerjoin foo
07:05 <maintcont> accepted
07:05 <maintcont> tasklist rciw|censure
and on the console
worker list:
--------------------
('worker got, name:', 'jayvdb', 'job:', 'foo')
worker list:
('*', 'jayvdb', 'has been removed')
--------------------
how do we get it to do anything more than that?
TASK DETAIL
https://phabricator.wikimedia.org/T66839
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
Cc: jayvdb, gerritbot, droid, Xqt, valhallasw, Ricordisamoa, Ladsgroup, pywikipedia-bugs
Nemo_bis added a comment.
...or not so remote if https://phabricator.wikimedia.org/T34695 ever approaches reality. In general, the issue of syncing Wikisource <-> their DjVu source <-> the source digital library is IMHO the biggest open question in the Wikisource model.
TASK DETAIL
https://phabricator.wikimedia.org/T66853
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: Nemo_bis
Cc: Nemo_bis, jayvdb, valhallasw, Ricordisamoa, Ladsgroup, Billinghurst, Mpaa, droid, pywikipedia-bugs
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
Probably caused by revision deletion of the page?
https://travis-ci.org/wikimedia/pywikibot-core/jobs/43590174
```
======================================================================
ERROR: testLogEvents (tests.site_tests.SiteUserTestCase)
Test the site.logevents() method.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/site_tests.py", line 732, in testLogEvents
for entry in mysite.logevents(logtype=typ, total=3):
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1512, in __iter__
yield self.result(item)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1710, in result
return self.entryFactory.create(pagedata)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 294, in create
return self._creator(logdata)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 283, in <lambda>
self._creator = lambda data: logclass(data, self._site)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 98, in __init__
pos = self.data['title'].find('#')
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 28, in __missing__
raise KeyError("Log entry has no '%s' key" % key, key)
KeyError: ("Log entry has no 'title' key", 'title')
```
TASK DETAIL
https://phabricator.wikimedia.org/T78152
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
Cc: Aklapper, jayvdb, pywikipedia-bugs
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-tests.
jayvdb changed Security from none to none.
TASK DESCRIPTION
https://travis-ci.org/wikimedia/pywikibot-core/jobs/43953898
```
======================================================================
ERROR: test_logevents_default (tests.pagegenerators_tests.TestLogeventsFactoryGenerator)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/pagegenerators_tests.py", line 414, in test_logevents_default
pages = set(gen)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/pagegenerators.py", line 726, in LogeventsPageGenerator
yield entry.title()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 63, in title
self._title = pywikibot.Page(self.site, self.data['title'])
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 28, in __missing__
raise KeyError("Log entry has no '%s' key" % key, key)
KeyError: ("Log entry has no 'title' key", 'title')
```
TASK DETAIL
https://phabricator.wikimedia.org/T78481
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
Cc: Aklapper, jayvdb, pywikipedia-bugs