[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-24 Thread AntiCompositeNumber
AntiCompositeNumber added a comment. Could not reproduce. Please provide at least the following information: - Operating system - Python environment and version (`import sys; print(sys.version)`) - Pywikibot version (`import pywikibot; print(pywikibot.__version__)`) - Relevant code

Re: [pywikibot] Getting started with pywikibot

2020-10-24 Thread masti
Hi Larry, ad 2. yes. use -cat:categoryName or -catr:categoryName as generator. look in pagegenarators.py script. It gives all generators you can use when starting script. masti On 19.08.2020 01:39, Larry Martell wrote: On Mon, Aug 17, 2020 at 11:43 PM wrote: Hi Larry, there are two way

[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-24 Thread Fae
Fae added a comment. As my 'personal' work-around, just for UK legislation PDFs that the API flags with chunk-too-small and fails on a second upload, the pdf is trimmed of the final byte and re-attempted. In my view this is a terrible hack rather than a fix. However, this initially

Re: [pywikibot] checking links against SpamFilter

2020-10-24 Thread masti
thanks, that's how I've done it. I tought there is maybe an ready class. masti On 24.10.2020 13:44, John wrote: https://en.wikipedia.org/w/api.php?action=""> On Sat, Oct 24, 2020 at 2:29 AM masti

Re: [pywikibot] checking links against SpamFilter

2020-10-24 Thread John
https://en.wikipedia.org/w/api.php?action=help=spamblacklist On Sat, Oct 24, 2020 at 2:29 AM masti wrote: > Hi, > is there a way to check if the link will be catched by SpamFilter > without saving the page? > > I am doing some link statistics and cannot save the results page due to > global

[Pywikibot-commits] [Gerrit] ...core[master]: [IMPR] make showStatus function a bot method and rename it to show_st...

2020-10-24 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/559492 ) Change subject: [IMPR] make showStatus function a bot method and rename it to show_status .. [IMPR] make showStatus function a

[pywikibot] checking links against SpamFilter

2020-10-24 Thread masti
Hi, is there a way to check if the link will be catched by SpamFilter without saving the page? I am doing some link statistics and cannot save the results page due to global SpamFilter. masti ___ pywikibot mailing list