jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
TASK DESCRIPTION
The patrol token is not being loaded correctly for earlier versions.
Since patrol was added in v1.14, until v1.16, the patrol token was the same as the edit token.
For 1.17-19, the patrol token must be obtained from the query list recentchanges.
https://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rctoken=…
TASK DETAIL
https://phabricator.wikimedia.org/T85727
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 closed blocking task T85725: token methods should use the list of tokens in paraminfo as "Resolved".
TASK DETAIL
https://phabricator.wikimedia.org/T72965
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: akashagarwal, jayvdb
Cc: Ricordisamoa, gerritbot, akashagarwal, jayvdb, XZise, pywikipedia-bugs
XZise added a comment.
Okay the name “pywikipediabot” and the behavior looks like compat and not core. Also a quick check shows that the text is probably only in compat:
xzise@localhost:~/Programms/pywikibot/core$ git grep 'Missing namespace'
xzise@localhost:~/Programms/pywikibot/compat$ git grep 'Missing namespace'
wikipedia.py: warning(u"Missing namespace in family file "
wikipedia.py: warning(u"Missing namespace in family file "
TASK DETAIL
https://phabricator.wikimedia.org/T94601
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: XZise
Cc: XZise, Aklapper, tuxnani, Anshoe, pywikipedia-bugs
Ciencia_Al_Poder created this task.
Ciencia_Al_Poder added a subscriber: Ciencia_Al_Poder.
Ciencia_Al_Poder added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
**OS:** Linux
When I redirect the output of the python command that runs the bot to a file or another command, the output simply disappears. I wanted to generate a file based on the listpages.py script, but apparently I'm unable to do so...
```
> python pwb.py listpages.py -family: -cat:'somecategory'
1 Page 1
2 Page 2
...
> python pwb.py listpages.py -family: -cat:'somecategory' > filelist.txt
> ls -l filelist.txt
-rw-r--r-- 1 jesus users 0 mar 21 16:55 filelist.txt
> python pwb.py listpages.py -family: -cat:'somecategory' | uniq
>
```
Using the pipe to pass the output to another command doesn't generate output. The same when redirecting to a file.
Printing text from python directly works, though
```
> python -c "print 'test'" | uniq
test
```
TASK DETAIL
https://phabricator.wikimedia.org/T93474
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: Ciencia_Al_Poder
Cc: pywikipedia-bugs, Ciencia_Al_Poder, Aklapper, jayvdb