[Pywikipedia-bugs] [Maniphest] [Commented On] T198428: db_username and db_password don't work sometimes

2018-06-28 Thread zhuyifei1999
zhuyifei1999 added a comment. Not even driver-dependent. db_connect_file = user_home_path('.my.cnf') if config.db_connect_file is None: credentials = {'user': config.db_username, 'passwd': config.db_password} else: credentials = {'read_default_file':

[Pywikipedia-bugs] [Maniphest] [Commented On] T198388: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

2018-06-28 Thread Dalba
Dalba added a comment. https://docs.python.org/3/library/collections.html#module-collections: Changed in version 3.3: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.7. Subsequently,

[Pywikipedia-bugs] [Maniphest] [Retitled] T198428: db_username and db_password don't work sometimes

2018-06-28 Thread Dvorapa
Dvorapa renamed this task from "An amendment in documentation of Manual:Pywikibot/MySQL" to "db_username and db_password don't work sometimes". TASK DETAILhttps://phabricator.wikimedia.org/T198428EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc:

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T198428: An amendment in documentation of Manual:Pywikibot/MySQL

2018-06-28 Thread Dvorapa
Dvorapa added subscribers: zhuyifei1999, Mpaa, Dvorapa.Dvorapa added a comment. Per my understanding there should be either db_username and db_password or db_connect_file. But per @Vladis13 it seems like db_username is sometimes ignored even if no db_connect_file is given.TASK

[Pywikipedia-bugs] [Maniphest] [Merged] T93364: Bot does not recognize EditConflict

2018-06-28 Thread Dvorapa
Dvorapa added subscribers: Rollopack, Dalba.Dvorapa merged a task: T198392: Check if page was changed. TASK DETAILhttps://phabricator.wikimedia.org/T93364EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dalba, Rollopack, Framawiki, Dvorapa, Beta16,

[Pywikipedia-bugs] [Maniphest] [Updated] T198392: Check if page was changed

2018-06-28 Thread Dvorapa
Dvorapa closed this task as a duplicate of T93364: Bot does not recognize EditConflict. TASK DETAILhttps://phabricator.wikimedia.org/T198392EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dalba, Aklapper, Rollopack, pywikibot-bugs-list, Magul,

[Pywikipedia-bugs] [Maniphest] [Commented On] T196619: newitem.py ignores -namespace: parameter

2018-06-28 Thread zhuyifei1999
zhuyifei1999 added a comment. In T196619#4322931, @zhuyifei1999 wrote: Looks like a no-op to me. Scratch that. It is relevant, yes, but the original implementation of using a layer of 'indirectness' is not good. The bug is caused by the combination of pagegenerators.py#L496 and api.py#L2710:

[Pywikipedia-bugs] [Maniphest] [Commented On] T196619: newitem.py ignores -namespace: parameter

2018-06-28 Thread zhuyifei1999
zhuyifei1999 added a comment. In T196619#4305701, @matej_suchanek wrote: rPWBCbdeea71e129f0bc9b1a36e75388dfc576c7275ce is behind this. Looks like a no-op to me.TASK DETAILhttps://phabricator.wikimedia.org/T196619EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T196619: newitem.py ignores -namespace: parameter

2018-06-28 Thread Multichill
Multichill added a comment. @Xqt : Why are you deprecating perfectly valid generators? Buh, simple revert and rebase doesn't work.TASK DETAILhttps://phabricator.wikimedia.org/T196619EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: Multichill,

[Pywikipedia-bugs] [Maniphest] [Commented On] T196619: newitem.py ignores -namespace: parameter

2018-06-28 Thread gerritbot
gerritbot added a comment. Change 442910 had a related patch set uploaded (by Multichill; owner: Multichill): [pywikibot/core@master] T196619 Revert "[cleanup] Deprecate pagegenerators.UnconnectedPageGenerator" https://gerrit.wikimedia.org/r/442910TASK

[Pywikipedia-bugs] [Maniphest] [Updated] T196619: newitem.py ignores -namespace: parameter

2018-06-28 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T196619EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, matej_suchanek, Xqt, Framawiki, Aklapper, JAnD, pywikibot-bugs-list, Gaboe420, Versusxo,

[Pywikipedia-bugs] [Maniphest] [Updated] T198392: Check if page was changed

2018-06-28 Thread Dalba
Dalba added a comment. Duplicate of T93364?TASK DETAILhttps://phabricator.wikimedia.org/T198392EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, Aklapper, Rollopack, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis,

[Pywikipedia-bugs] [Maniphest] [Created] T198392: Check if page was changed

2018-06-28 Thread Rollopack
Rollopack created this task.Rollopack added projects: Pywikibot-core, Pywikibot-replace.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONIt happens that after downloading the page and before uploading the changes made by the bot, other users edit the page, this leads to

[Pywikipedia-bugs] [Maniphest] [Retitled] T198388: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

2018-06-28 Thread Dalba
Dalba renamed this task from "Using or importing the ABCs from 'col lections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working" to "Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working". TASK

[Pywikipedia-bugs] [Maniphest] [Created] T198388: Using or importing the ABCs from 'col lections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

2018-06-28 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONImporting pywikibot in Python 3.7 gives the following warning: Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type

[Pywikipedia-bugs] [Maniphest] [Triaged] T198388: Using or importing the ABCs from 'col lections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

2018-06-28 Thread Dalba
Dalba triaged this task as "Low" priority. TASK DETAILhttps://phabricator.wikimedia.org/T198388EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Edited] T197936: [RfC] Figure out the version format

2018-06-28 Thread Dvorapa
Dvorapa updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...- Pip: 3.0.dev0 (what? T198374)...TASK DETAILhttps://phabricator.wikimedia.org/T197936EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: pywikibot-bugs-list, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Created] T198374: Pywikibot identifies iteself with the wrong version, breaking pip freeze

2018-06-28 Thread Konstin
Konstin created this task.Konstin added a project: Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONOn pypi, pywikibot is published as version 3.0.*, but when installed, pywikibot identifies as 3.0.dev0. This breaks pip freeze, since you can't install