[Pywikipedia-bugs] [Maniphest] [Commented On] T165819: Loop caused by a 302 error on testwiki

2017-06-10 Thread MacFan4000
MacFan4000 added a comment. BumpTASK DETAILhttps://phabricator.wikimedia.org/T165819EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MacFan4000Cc: Pywikibot-network, Pywikibot-core, Strainu, Framawiki, Aklapper, MacFan4000, pywikibot-bugs-list, Magul, Tbscho,

[Pywikipedia-bugs] [Maniphest] [Updated] T151943: textlib.replaceExcept should handle also tags like

2017-06-10 Thread Dvorapa
Dvorapa added a project: Pywikibot-core. TASK DETAILhttps://phabricator.wikimedia.org/T151943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, pywikibot-bugs-list, Reedy, Aklapper, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis,

[Pywikipedia-bugs] [Maniphest] [Updated] T135918: Port clear_cfd_templates.py to pywikibot-core

2017-06-10 Thread Dvorapa
Dvorapa added a project: Pywikibot-compat-to-core. TASK DETAILhttps://phabricator.wikimedia.org/T135918EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Cyde, DvorapaCc: Aklapper, Zppix, pywikibot-bugs-list, Cyde, droid,

[Pywikipedia-bugs] [Maniphest] [Updated] T59097: Port warnfile.py to core branch

2017-06-10 Thread Dvorapa
Dvorapa added a project: Pywikibot-compat-to-core. TASK DETAILhttps://phabricator.wikimedia.org/T59097EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: ChongDae, gerritbot, Ricordisamoa, pywikibot-bugs-list, Ladsgroup, Adik2382, Th3d3v1ls, Ramalepe,

[Pywikipedia-bugs] [Maniphest] [Updated] T56565: Picasa copier upload script similar to flickrripper.py

2017-06-10 Thread Dvorapa
Dvorapa added a project: Pywikibot-compat. TASK DETAILhttps://phabricator.wikimedia.org/T56565EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Avicennasis, Aklapper, Steinsplitter, Legoktm, Nemo_bis, jayvdb, pywikibot-bugs-list, Poyekhali, Anshoe,

[Pywikipedia-bugs] [Maniphest] [Created] T167581: Differentiate between generators and filters in -help

2017-06-10 Thread Dvorapa
Dvorapa created this task.Dvorapa added projects: Pywikibot-core, Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONIn -help parameter there is always a list of global arguments, global generators and global filters, but generators and filters are mixed

[Pywikipedia-bugs] [Maniphest] [Edited] T57078: pagegenerators.py -match option

2017-06-10 Thread Dvorapa
Dvorapa updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONOriginally from: http://sourceforge.net/p/pywikipediabot/feature-requests/219/ Reported by: Anonymous user Created on: 2009-08-21 18:38:13 Subject: replace.py -match option Original description: Hello! It would be

[Pywikipedia-bugs] [Maniphest] [Retitled] T57078: pagegenerators.py -match option

2017-06-10 Thread Dvorapa
Dvorapa renamed this task from "replace.py -match option" to "pagegenerators.py -match option".Dvorapa edited projects, added Pywikibot-pagegenerators; removed Pywikibot-replace.py.Dvorapa updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...Hello\! It would be nice, if you

[Pywikipedia-bugs] [Maniphest] [Commented On] T57078: replace.py -match option

2017-06-10 Thread Dvorapa
Dvorapa added a comment. But maybe the more important difference: -search:'insource://' is a generator -grep is a filter But because -search:'insource://' is not ideal (missing support for \s, \n, ^, $, ...), a solution to this task would be still helpfulTASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T57078: replace.py -match option

2017-06-10 Thread Dvorapa
Dvorapa added a comment. In T57078#3337475, @valhallasw wrote: In T57078#3337396, @Dvorapa wrote: -grep matches regex in page title No, -grep matches the page contents. -titleregex matches the page title. This is clearly documented

[Pywikipedia-bugs] [Maniphest] [Commented On] T57078: replace.py -match option

2017-06-10 Thread valhallasw
valhallasw added a comment. In T57078#3337396, @Dvorapa wrote: -grep matches regex in page title No, -grep matches the page contents. -titleregex matches the page title. This is clearly documented (https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/pagegenerators.py#L307,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57078: replace.py -match option

2017-06-10 Thread binbot
binbot added a comment. OK. Replace.py is very important for me as I heavily use it for multiple purposes, and I am highly interested in its performance. I contributed a lot to the compat version, but now I have troubles both with using the core and with coming back to development, but I will look

[Pywikipedia-bugs] [Maniphest] [Updated] T57078: replace.py -match option

2017-06-10 Thread Dvorapa
Dvorapa added a comment. In T57078#3337467, @binbot wrote: Why do we need not ideal solutions? -search:'insource://' is just a workaround for this issue. It works with MediaWiki's CirrusSearch, which does not support some regex operators (T135280)TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T57078: replace.py -match option

2017-06-10 Thread binbot
binbot added a comment. In T57078#3337396, @Dvorapa wrote: -search:'insource://' matches regex inside page content. This is not ideal (doesn't work with ^,$,\s,...), but it usually will do just fine Why do we need not ideal solutions?TASK

[Pywikipedia-bugs] [Maniphest] [Updated] T72651: generic {{delete}} template in casechecker.py should be localized

2017-06-10 Thread Dvorapa
Dvorapa added a comment. Similar to T72653TASK DETAILhttps://phabricator.wikimedia.org/T72651EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Aklapper, Xqt, pywikibot-bugs-list, Liuxinyu970226, Magul, Tbscho, MayS, Mdupont, JJMC89,

[Pywikipedia-bugs] [Maniphest] [Updated] T72653: Generic {{delete}} template at Page.delete() method should be localized

2017-06-10 Thread Dvorapa
Dvorapa added a comment. Similar to T72651TASK DETAILhttps://phabricator.wikimedia.org/T72653EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti,

[Pywikipedia-bugs] [Maniphest] [Commented On] T167463: weblinkchecker: Use https instead of http for web.archive.org

2017-06-10 Thread Zoranzoki21
Zoranzoki21 added a comment. Thank you very much!TASK DETAILhttps://phabricator.wikimedia.org/T167463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Zoranzoki21Cc: gerritbot, Aklapper, Framawiki, Zoranzoki21, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont,

[Pywikipedia-bugs] [Maniphest] [Changed Status] T167463: weblinkchecker: Use https instead of http for web.archive.org

2017-06-10 Thread Framawiki
Framawiki changed the task status from "Open" to "Stalled".Framawiki added a comment. @Zoranzoki21 To get the last version of pywikibot, you have ti use Git: https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit. Don't hesitate to tell me if I can help you to use it. NOTE: This task is not

[Pywikipedia-bugs] [Maniphest] [Updated] T167463: weblinkchecker: Use https instead of http for web.archive.org

2017-06-10 Thread Zoranzoki21
Zoranzoki21 removed a project: Patch-For-Review.Zoranzoki21 added a comment. ReviewedTASK DETAILhttps://phabricator.wikimedia.org/T167463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Zoranzoki21Cc: gerritbot, Aklapper, Framawiki, Zoranzoki21,

[Pywikipedia-bugs] [Maniphest] [Commented On] T167463: weblinkchecker: Use https instead of http for web.archive.org

2017-06-10 Thread Zoranzoki21
Zoranzoki21 added a comment. If is that resolved, can I now test to see effect?TASK DETAILhttps://phabricator.wikimedia.org/T167463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Zoranzoki21Cc: gerritbot, Aklapper, Framawiki, Zoranzoki21, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Unassigned] T76391: Only load item in harvest_template.py when needed

2017-06-10 Thread Xqt
Xqt removed Pywikibugs as the assignee of this task. TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, jayvdb, pywikibot-bugs-list, Multichill, Pywikibugs, GoranSMilovanovic, Magul, QZanden,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57078: replace.py -match option

2017-06-10 Thread Dvorapa
Dvorapa added a comment. In T57078#2607540, @valhallasw wrote: As far as I can see, the -grep option provides this: -grep A regular _expression_ that needs to match the article otherwise the page won't be returned. Multiple -grep:regexpr can be

[Pywikipedia-bugs] [Maniphest] [Edited] T167580: Add -exceptns to pagegenerators.py

2017-06-10 Thread Dvorapa
Dvorapa updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION... # Call API to get list of all namespaces on current family.wikilang.family # Exclude ns specified in `-exceptns`...TASK DETAILhttps://phabricator.wikimedia.org/T167580EMAIL

[Pywikipedia-bugs] [Maniphest] [Created] T167580: Add -exceptns to pagegenerators.py

2017-06-10 Thread Dvorapa
Dvorapa created this task.Dvorapa added projects: Pywikibot-core, Pywikibot-pagegenerators.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONI miss this functionality in pagegenerators.py. It would be super-useful to have an opposite for -ns generator. Current approach

[Pywikipedia-bugs] [Maniphest] [Commented On] T56556: pagefromfile: use content as edit summary

2017-06-10 Thread Dvorapa
Dvorapa added a comment. If page is created on Wiki by hand and no summary is given, MediaWiki adds summary New page: {page content}. Maybe pwb should generate a similar one.TASK DETAILhttps://phabricator.wikimedia.org/T56556EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T167463: weblinkchecker: Use https instead of http for web.archive.org

2017-06-10 Thread gerritbot
gerritbot added a comment. Change 358053 merged by jenkins-bot: [pywikibot/core@master] [bugfix] weblinkchecker.py: Use https for web.archive.org https://gerrit.wikimedia.org/r/358053TASK DETAILhttps://phabricator.wikimedia.org/T167463EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T135304: Bot should always add CFD template when moving category

2017-06-10 Thread Dvorapa
Dvorapa added a comment. In T135304#3295025, @matej_suchanek wrote: In T135304#3294954, @Dvorapa wrote: Could you please add an option to localize CFD template name too? I know {{delete}} works on most of Wikipedias, but localized one would be better maybe. This option will add nothing since

[Pywikipedia-bugs] [Maniphest] [Commented On] T124609: Please create a pywiki script to massively lock accounts and block IPs, both locally and globally

2017-06-10 Thread Framawiki
Framawiki added a comment. What do you want exactly ? A script that block all ips/usernames that are listed on a wikipage, something like your draft page ? By entering this list in a dialog box (real dialog box, on your computer) ? I think that the first solution is better for log purposes. It can

[Pywikipedia-bugs] [Maniphest] [Block] T143905: Add support for BotPasswords in generate_user_files.py

2017-06-10 Thread Framawiki
Framawiki created subtask T167573: generate_user_config.py: Check the existence of a previous user-password.py. TASK DETAILhttps://phabricator.wikimedia.org/T143905EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: Dvorapa, Framawiki, valhallasw,