[Pywikipedia-bugs] [Maniphest] [Created] T108838: '-ignore' parameter throws exception in interwiki.py

2015-08-12 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added a project: Pywikibot-interwiki.py. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION pwb.py interwiki -lang:pt -family:wiktionary Categoria:Substantivo_(Português

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T108923: interwiki dump should be delted after finish work

2015-08-13 Thread Malafaya
Malafaya added a subscriber: Malafaya. TASK DETAIL https://phabricator.wikimedia.org/T108923 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: Malafaya, Aklapper, JAnD, pywikibot-bugs-list, droid, Malyacko

[Pywikipedia-bugs] [Maniphest] [Retitled] T108923: Interwiki dump should be deleted after finishing work

2015-08-13 Thread Malafaya
Malafaya changed the title from interwiki dump should be delted after finish work to Interwiki dump should be deleted after finishing work. Malafaya set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T108923 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T102033: interwiki.py for categories in core is significantly slower than in compat

2015-08-13 Thread Malafaya
Malafaya added a subscriber: Malafaya. TASK DETAIL https://phabricator.wikimedia.org/T102033 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: Malafaya, pywikibot-bugs-list, JAnD, Aklapper, droid, Malyacko

[Pywikipedia-bugs] [Maniphest] [Commented On] T102033: interwiki.py for categories in core is significantly slower than in compat

2015-08-13 Thread Malafaya
Malafaya added a comment. I noticed it myself yesterday. The process seems to hang when retrieving pages from a wiki. I.e., just after showing messages such as: Retrieving 26 pages from wiktionary:pt. TASK DETAIL https://phabricator.wikimedia.org/T102033 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T108848: login.py parameters ignored (or misleading documentation)

2015-08-13 Thread Malafaya
Malafaya added a comment. Concerning -force, couldn't we assume it will afect all wikis and just delete the .lwp file? But I believe this parameter is not too important. Maybe just removing it from the usage description and accepted parameters is good enough. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Triaged] T108848: login.py parameters ignored (or misleading documentation)

2015-08-14 Thread Malafaya
Malafaya triaged this task as Low priority. Malafaya set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T108848 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: jayvdb, XZise, Aklapper, Malafaya, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Created] T109077: Performance decreased saving pages for sites with non-alphabetical code interwiki sort (interwiki_putfirst specified)

2015-08-14 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added projects: pywikibot-core, Pywikibot-interwiki.py. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION When running interwiki.py, when changes are needed to a wiki which has a non-default

[Pywikipedia-bugs] [Maniphest] [Claimed] T109077: Performance decreased saving pages for sites with non-alphabetical code interwiki sort (interwiki_putfirst specified)

2015-08-14 Thread Malafaya
Malafaya claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T109077 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: gerritbot, Aklapper, Malafaya, pywikibot-bugs-list, jayvdb, Malyacko

[Pywikipedia-bugs] [Maniphest] [Updated] T102033: interwiki.py for categories in core is significantly slower than in compat

2015-08-14 Thread Malafaya
Malafaya added a comment. Possibly fixed along with https://phabricator.wikimedia.org/T109077 TASK DETAIL https://phabricator.wikimedia.org/T102033 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: Malafaya, pywikibot-bugs-list, JAnD

[Pywikipedia-bugs] [Maniphest] [Commented On] T108005: Additional space in interwiki link causes duplicates

2015-08-14 Thread Malafaya
Malafaya added a subscriber: Malafaya. Malafaya added a comment. Even though [[en:Category:Bar]] is the same as [[en:Category:_Bar]], the bot is asking the operator to choose one of them (i.e. found duplicate links for en). It should just automatically go with the non-spaced version and not ask

[Pywikipedia-bugs] [Maniphest] [Updated] T57880: [Tracking] Functionality existing in compat but missing from core

2015-08-12 Thread Malafaya
Malafaya added a blocking task: T108802: Account required in wiki being processed (starting wiki). TASK DETAIL https://phabricator.wikimedia.org/T57880 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: binbot, Aklapper, APerson, Xqt

[Pywikipedia-bugs] [Maniphest] [Closed] T108801: 'svnversion failed' on pwb.py script startup

2015-08-12 Thread Malafaya
Malafaya closed this task as Invalid. Malafaya claimed this task. Malafaya added a comment. Actually, I didn't have git in the path. After adding it, it seemed to solve the problem. It seems version.py tries git first and then falls back to svn, hence the warning. I'm not sure this is still

[Pywikipedia-bugs] [Maniphest] [Created] T108848: login.py parameters ignored (or misleading documentation)

2015-08-12 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added a project: Pywikibot-login.py. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION According to pwb.py login -help: -force Ignores if the user is already logged in, and tries

[Pywikipedia-bugs] [Maniphest] [Commented On] T114913: -liverecentchanges not working

2015-10-09 Thread Malafaya
Malafaya added a comment. Version was 0.6.3. I have 0.5.5 (but reports 0.5.4) now. Error is now (probably some other problem): >pwb.py interwiki -lang:pt -family:wiktionary -ns:14 -liverecentchanges NOTE: Number of pages queued is 0, trying to add 50 more. Dump pt (wiktionary) appen

[Pywikipedia-bugs] [Maniphest] [Created] T114913: -liverecentchanges not working

2015-10-07 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ``` >pwb.py interwiki -lang:pt -family:wiktionary -ns:14 -liverecentchanges NOTE: Number of pages que

[Pywikipedia-bugs] [Maniphest] [Commented On] T114913: -liverecentchanges not working

2015-10-09 Thread Malafaya
Malafaya added a comment. > python pip.exe list argparse (1.2.1) autobahn (0.7.4) flake8 (2.4.1) git-review (1.24) ipaddr (2.1.11) ipaddress (1.0.14) mccabe (0.3.1) memento-client (0.5.1) pep8 (1.5.7) pip (1.5.6) pyflakes (0.8.1) pywikibot (2.0rc1.post2) pywin32 (218) requests (2.

[Pywikipedia-bugs] [Maniphest] [Created] T110354: Login credentials are not kept between runs

2015-08-26 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added projects: Pywikibot-login.py, pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I run pwb.py login -all, and everything seems ok: pwb.py login -all Password for user

[Pywikipedia-bugs] [Maniphest] [Commented On] T110567: KeyError: u'ik' when processing langlinks in -wiktionary mode

2015-08-27 Thread Malafaya
Malafaya added a comment. [[ay:Template:en]] had an interwiki to 'ik'. Although templates are not being processed here, just because it retrieves templates at some point seems to require it to process their interwikis. TASK DETAIL https://phabricator.wikimedia.org/T110567 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T110567: KeyError: u'ik' when processing langlinks in -wiktionary mode

2015-08-27 Thread Malafaya
Malafaya added a comment. 2015-08-27 22:28:49site.py, 2859 in preloadpages: INFO Retrieving 20 pages from wiktionary:ay. 2015-08-27 22:28:49throttle.py, 84 in checkMultiplicity: DEBUG Checking multiplicity: pid = 10 2015-08-27 22:28:49

[Pywikipedia-bugs] [Maniphest] [Commented On] T74674: Unable to communicate with obsolete / non-existing wikis

2015-08-27 Thread Malafaya
Malafaya added a comment. I'm not sure if an obsolete site is the same as a closed wiki, but in case of closed wikis, why not allow reads from it? Obviously, editing is not allowed, but read operations should be fine and would basically fix the problem. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T93722: Can not use Pywiki Bot in Maithili wikipedia

2015-08-26 Thread Malafaya
Malafaya added a subscriber: Malafaya. Malafaya added a comment. This should be working since May 25th 2015. Do you confirm it's working with mai.wikipedia? TASK DETAIL https://phabricator.wikimedia.org/T93722 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T76939: Support mai.wikipedia

2015-08-26 Thread Malafaya
Malafaya added a subscriber: Malafaya. Malafaya added a comment. Can you confirm it's working already? TASK DETAIL https://phabricator.wikimedia.org/T76939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: Malafaya, ChongDae, XZise

[Pywikipedia-bugs] [Maniphest] [Updated] T93722: Can not use Pywiki Bot in Maithili wikipedia

2015-08-26 Thread Malafaya
Malafaya added a comment. Duplicated of https://phabricator.wikimedia.org/T76939 TASK DETAIL https://phabricator.wikimedia.org/T93722 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: Malafaya, biplabanand, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Created] T110447: -cleanup does not work with -auto

2015-08-26 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added projects: pywikibot-core, Pywikibot-interwiki.py. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Running -cleanup with -auto, I get: pwb.py interwiki -wiktionary -lang:hu

[Pywikipedia-bugs] [Maniphest] [Commented On] T111116: UnicodeDecodeError: 'utf8' codec can't decode byte 0xfb in position 12: invalid start byte

2015-09-01 Thread Malafaya
Malafaya added a comment. I can reproduce it everytime (at least, for now while the page needs to be updated) with: > pwb.py interwiki -lang:pt -family:wiktionary -wiktionary -auto -cleanup > -debug août TASK DETAIL https://phabricator.wikimedia.org/T16 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T111116: UnicodeDecodeError: 'utf8' codec can't decode byte 0xfb in position 12: invalid start byte

2015-09-01 Thread Malafaya
Malafaya added a comment. u'urlencode:ao%FBt' page being updated is [[pt:août]] TASK DETAIL https://phabricator.wikimedia.org/T16 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: XZise, pywikibot-bugs-list, Malafaya, Aklapper

[Pywikipedia-bugs] [Maniphest] [Created] T111617: 'TypeError: __str__ returned non-string (type SysCallError)' in HTTP requests

2015-09-05 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Sometimes (lately, more frequently) I get these errors on the console: ``` ERROR: Traceback (most

[Pywikipedia-bugs] [Maniphest] [Commented On] T110447: -cleanup does not work with -auto

2015-09-03 Thread Malafaya
Malafaya added a comment. I have cases in which inexisting langlinks are removed. I think it's when the page has to be updated for some other change. If the only potential change is removing inexisting langlinks (none added or changed), then nothing is updated. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T112102: replace.py does not recognize replacements in user-fixes.py

2015-09-10 Thread Malafaya
Malafaya added a subscriber: Malafaya. Malafaya added a comment. You're probably looking for argument -replacementfile instead of -file. I also noticed that despite -file not being listed in the possible switches, there is an erroneous example using it. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T112102: replace.py does not recognize replacements in user-fixes.py

2015-09-10 Thread Malafaya
Malafaya added a comment. I did a quick test with the latest version and it seems to be working. This is a quick example I tried in user-fixes.py (excluding imports etc.): fixes.update({ '': { 'regex': True, 'msg': 'pywikibot-fixes-html', 'replacements

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T57202: Replace.py does not open articles with "?" in browser

2015-09-10 Thread Malafaya
Malafaya added a subscriber: Malafaya. Malafaya added a comment. Herald added a subscriber: Aklapper. It's working fine in 'core'. If 'compat' ceases to be maintained, this can be closed. TASK DETAIL https://phabricator.wikimedia.org/T57202 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T112449: Cosmetic_changes: coercing to Unicode: need string or buffer

2015-09-14 Thread Malafaya
Malafaya added a comment. Related to my comment above? Yes. Related to the original problem and will it solve the problem. No ;). TASK DETAIL https://phabricator.wikimedia.org/T112449 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc

[Pywikipedia-bugs] [Maniphest] [Commented On] T112449: Cosmetic_changes: coercing to Unicode: need string or buffer

2015-09-15 Thread Malafaya
Malafaya added a comment. The change detection patch was merged today. Nevertheless, the original problem reported should still exist. TASK DETAIL https://phabricator.wikimedia.org/T112449 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya

[Pywikipedia-bugs] [Maniphest] [Commented On] T102033: interwiki.py for categories in core is significantly slower than in compat

2015-09-09 Thread Malafaya
Malafaya added a comment. Most likely fixed if/when these changes get merged: - https://gerrit.wikimedia.org/r/237130 - https://gerrit.wikimedia.org/r/237113 TASK DETAIL https://phabricator.wikimedia.org/T102033 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T108904: autotranslate bug in interwiki.py with -wiktionary

2015-09-09 Thread Malafaya
Malafaya added a comment. I posted too soon. It's happening now in both auto and manual mode. I don't know what I did different before. Maybe the fix is just to skip translation altogether for -wiktionary mode. TASK DETAIL https://phabricator.wikimedia.org/T108904 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Created] T113411: UnicodeDecodeError in color_format()

2015-09-22 Thread Malafaya
Malafaya created this task. Malafaya added a subscriber: Malafaya. Malafaya added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Page being updated at the time of the exception was **lt:Kategorija:Vaisiai/Baskų kalba** ``` C

[Pywikipedia-bugs] [Maniphest] [Commented On] T113411: UnicodeDecodeError in color_format()

2015-09-22 Thread Malafaya
Malafaya added a comment. It's maybe also best to add a test for unicode text in tools_formatter_tests.py. TASK DETAIL https://phabricator.wikimedia.org/T113411 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: Aklapper, Malafaya

[Pywikipedia-bugs] [Maniphest] [Closed] T108904: autotranslate bug in interwiki.py with -wiktionary

2015-09-21 Thread Malafaya
Malafaya closed this task as "Resolved". Malafaya claimed this task. Malafaya set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T108904 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: gerritbot, Hydriz

[Pywikipedia-bugs] [Maniphest] [Commented On] T108904: autotranslate bug in interwiki.py with -wiktionary

2015-09-21 Thread Malafaya
Malafaya added a comment. @JAnD, it should be fixed. Please confirm. Thanks. TASK DETAIL https://phabricator.wikimedia.org/T108904 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Malafaya Cc: gerritbot, Hydriz, Malafaya, Aklapper, JAnD, pywikibot