[Pywikipedia-bugs] [Maniphest] [Updated] T57032: create "checkpage" option and global "-enable" argument

2017-08-15 Thread Dvorapa
Dvorapa added a project: Pywikibot-General. TASK DETAILhttps://phabricator.wikimedia.org/T57032EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: pywikibot-bugs-list, Ricordisamoa, jayvdb, Legoktm, Aklapper, Avicennasis, Dvorapa, Magul, Tbscho, MayS, M

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Mpaa
Mpaa added a comment. It happens in this page: Page((31) Евфросина)TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Dvorapa, Framawiki, Aklapper, pywikibot-bugs-list, Mpaa, Magul, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa added a comment. @Mpaa I see, it is caused by the following link: https://sbn.psi.edu/pds/asteroid/EAR_A_5_DDR_ALBEDOS_V1_1/data/albedos.tab $ curl -I https://sbn.psi.edu/pds/asteroid/EAR_A_5_DDR_ALBEDOS_V1_1/data/albedos.tab HTTP/1.1 200 OK Date: Tue, 15 Aug 2017 08:41:16 GMT Server: Apac

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa added a comment. It is just a warning, but it should definitely end with No title found instead of current No content-type foundTASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Fram

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Mpaa
Mpaa added a comment. Wierd, for me it stops here, both in py2 ad py3: File "/home/user/python/core/pywikibot/comms/threadedhttp.py", line 121, in header_encoding content_type = self.response_headers['content-type'] File "/usr/local/lib/python2.7/dist-packages/requests/structures.py", line 54, i

[Pywikipedia-bugs] [Maniphest] [Commented On] T109220: Feature request: pass the Page object to the fix in replace.py

2017-08-15 Thread binbot
binbot added a comment. Some use cases that are not covered by multiple fixes: The replacement depends on other parts of the same text. The replacement depends on length of the page (or number of sections) – yes, there is a talk, that a certain replacement should be done on small pages only (http

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa added a comment. @Mpaa Which version of py3? (I use latest 3.6.2, therefore I assume this is some backwards compatibility issue)TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Fram

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa added a comment. @Mpaa I can reproduce this only on 6 months old copy of pwb, current version works as expectedTASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Framawiki, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Commented On] T173195: Implement federated Wikibase in Pywikibot

2017-08-15 Thread Ladsgroup
Ladsgroup added a comment. AFAIK, the API works just fine on our side. pywikibot only needs implementation (which can be quite difficult)TASK DETAILhttps://phabricator.wikimedia.org/T173195EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Ladsgroup,

[Pywikipedia-bugs] [Maniphest] [Commented On] T155509: reflinks.py: UnicodeEncodeError

2017-08-15 Thread gerritbot
gerritbot added a comment. Change 371973 had a related patch set uploaded (by Dvorapa; owner: Dvorapa): [pywikibot/core@master] [bugfix, i18n, PEP8] Make reflinks.py work smoothly https://gerrit.wikimedia.org/r/371973TASK DETAILhttps://phabricator.wikimedia.org/T155509EMAIL PREFERENCEShttps://phab

[Pywikipedia-bugs] [Maniphest] [Updated] T155509: reflinks.py: UnicodeEncodeError

2017-08-15 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T155509EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: Dvorapa, Masti, Rubin16, Aklapper, pywikibot-bugs-list, Framawiki, Lordiis, Adik2382, Th3d3v1ls, Ramal

[Pywikipedia-bugs] [Maniphest] [Updated] T155509: reflinks.py: UnicodeEncodeError

2017-08-15 Thread Dvorapa
Dvorapa added a comment. Same problem like in T159645, but for py2TASK DETAILhttps://phabricator.wikimedia.org/T155509EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Masti, Rubin16, Aklapper, pywikibot-bugs-list, Framawiki, Lordiis, Adik238

[Pywikipedia-bugs] [Maniphest] [Updated] T159645: http response doesn't contain a charset

2017-08-15 Thread Dvorapa
Dvorapa added a comment. Same problem like in T155509, but in py3TASK DETAILhttps://phabricator.wikimedia.org/T159645EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: gerritbot, Mpaa, Aklapper, pywikibot-bugs-list, Rubin16, Lordiis, Adik2382, Th3d3v1l

[Pywikipedia-bugs] [Maniphest] [Claimed] T155509: reflinks.py: UnicodeEncodeError

2017-08-15 Thread Dvorapa
Dvorapa claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T155509EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Masti, Rubin16, Aklapper, pywikibot-bugs-list, Framawiki, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul,

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T123789: reflinks.py does not work on test wiki

2017-08-15 Thread Dvorapa
Dvorapa raised the priority of this task from "Low" to "Normal". TASK DETAILhttps://phabricator.wikimedia.org/T123789EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: gerritbot, Dvorapa, Aklapper, pywikibot-bugs-list, jayvdb, Lordiis, Adik2382, Th3d3v

[Pywikipedia-bugs] [Maniphest] [Triaged] T155509: reflinks.py: UnicodeEncodeError

2017-08-15 Thread Dvorapa
Dvorapa triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T155509EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Masti, Rubin16, Aklapper, pywikibot-bugs-list, Framawiki, Lordiis, Adik2382, Th3d3v1ls, Ramale

[Pywikipedia-bugs] [Maniphest] [Triaged] T168798: Fix Czech (cs) summary in standardize_interwiki.py

2017-08-15 Thread Dvorapa
Dvorapa triaged this task as "Low" priority. TASK DETAILhttps://phabricator.wikimedia.org/T168798EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Urbanecm, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liu

[Pywikipedia-bugs] [Maniphest] [Commented On] T173318: testWikibase is failing with AssertionError: 'Home page' not found in ...

2017-08-15 Thread gerritbot
gerritbot added a comment. Change 371945 merged by jenkins-bot: [pywikibot/core@master] wikibase_tests.py: Update mainpage alias https://gerrit.wikimedia.org/r/371945TASK DETAILhttps://phabricator.wikimedia.org/T173318EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferenc

[Pywikipedia-bugs] [Maniphest] [Closed] T173318: testWikibase is failing with AssertionError: 'Home page' not found in ...

2017-08-15 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T173318EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, PokestarFan, pywikibot-bugs-list, Dalba, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Ma

[Pywikipedia-bugs] [Maniphest] [Updated] T118719: solve_disambigaution.py gives possibilities from {{disambiguation}}

2017-08-15 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T118719EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Dalba, Aklapper, JAnD, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6

[Pywikipedia-bugs] [Maniphest] [Commented On] T118719: solve_disambigaution.py gives possibilities from {{disambiguation}}

2017-08-15 Thread gerritbot
gerritbot added a comment. Change 372064 had a related patch set uploaded (by Dvorapa; owner: Dvorapa): [pywikibot/core@master] [IMPR] Exclude links in disambiguation templates from possibilities https://gerrit.wikimedia.org/r/372064TASK DETAILhttps://phabricator.wikimedia.org/T118719EMAIL PREFERE

[Pywikipedia-bugs] [Maniphest] [Claimed] T118719: solve_disambigaution.py gives possibilities from {{disambiguation}}

2017-08-15 Thread Dvorapa
Dvorapa claimed this task.Dvorapa added a comment. Maybe easier would be just to find templates by regex, for each of them list template.linkedPages and then remove them from Page.linkedPagesTASK DETAILhttps://phabricator.wikimedia.org/T118719EMAIL PREFERENCEShttps://phabricator.wikimedia.org/setti

[Pywikipedia-bugs] [Maniphest] [Commented On] T173289: test_merriam_webster failed with Server504Error

2017-08-15 Thread gerritbot
gerritbot added a comment. Change 371771 merged by jenkins-bot: [pywikibot/core@master] exceptions.py: Let Server504Error and Server414Error inherit from ServerError https://gerrit.wikimedia.org/r/371771TASK DETAILhttps://phabricator.wikimedia.org/T173289EMAIL PREFERENCEShttps://phabricator.wikime

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Mpaa
Mpaa added a comment. I am always aligned with master (pull --recurse-submodules). Am I missing something? user@pc:~/python/core {master}$ python scripts/version.py Pywikibot: [ssh] pywikibot-core.git (0fc98a7, g8516, 2017/08/15, 17:28:18, n/a) Release version: 3.0-dev requests version: 2.18.3

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Mpaa
Mpaa added a comment. @Dvorapa, how does it pass this line?! Does self.response_headers contain the key?! File "pywikibot/comms/threadedhttp.py", line 121, in header_encoding content_type = self.response_headers['content-type']TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCESht

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa added a comment. @Mpaa I see, I've got one fix in this file that is not in master. Guess what?TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Framawiki, Aklapper, pywikibot-bugs-li

[Pywikipedia-bugs] [Maniphest] [Updated] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Dvorapa, Framawiki, Aklapper, pywikibot-bugs-list, Mpaa, Lordiis, Adik2382, Th3d3v1ls, Rama

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread gerritbot
gerritbot added a comment. Change 371973 had a related patch set uploaded (by Dvorapa; owner: Dvorapa): [pywikibot/core@master] [bugfix, i18n, PEP8] Make reflinks.py work smoothly https://gerrit.wikimedia.org/r/371973TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phab

[Pywikipedia-bugs] [Maniphest] [Claimed] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa claimed this task.Dvorapa triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: gerritbot, Dvorapa, Framawiki, Aklapper, pywikibot-bugs-list, Mpaa, Lordiis,

[Pywikipedia-bugs] [Maniphest] [Commented On] T166617: HttpRequest: not all headers contain 'content-type'.

2017-08-15 Thread Dvorapa
Dvorapa added a comment. What else can one typo do..TASK DETAILhttps://phabricator.wikimedia.org/T166617EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: gerritbot, Dvorapa, Framawiki, Aklapper, pywikibot-bugs-list, Mpaa, Lordiis, Adik2382, Th3d3v1ls,

[Pywikipedia-bugs] [Maniphest] [Commented On] T173352: Solve inconsistency between requests and comms

2017-08-15 Thread Dvorapa
Dvorapa added a comment. I'm now AFK for 14 days, but then I'll test every reported reflinks task if it is not affected by this bugTASK DETAILhttps://phabricator.wikimedia.org/T173352EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Aklapper, pywikibo

[Pywikipedia-bugs] [Maniphest] [Closed] T173289: test_merriam_webster failed with Server504Error

2017-08-15 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T173289EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho,