Page MenuHomePhabricator

Xqt
Pywikibot developer

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Nov 16 2014, 1:34 PM (334 w, 2 d)
Availability
Available
IRC Nick
xqt
LDAP User
Xqt
MediaWiki User
Xqt [ Global Accounts ]

Recent Activity

Today

Xqt committed rPWBCc19905eb18a6: [IMPR] Improvements for commonscat.py (authored by Xqt).
[IMPR] Improvements for commonscat.py
Tue, Apr 13, 7:02 AM

Yesterday

Xqt committed rPWBC24244e60b357: [IMPR] Improvements for patrol.py (authored by Xqt).
[IMPR] Improvements for patrol.py
Mon, Apr 12, 6:45 PM
Xqt committed rPWBC4634932126df: [tests] enable different types with BaseBot.treat() (authored by Xqt).
[tests] enable different types with BaseBot.treat()
Mon, Apr 12, 6:30 PM
Xqt added a parent task for T106763: Mandatory dependency on mwparserfromhell: T278454: templatesWithParams misses template where a parameter value has a curly brace.
Mon, Apr 12, 4:45 PM · Patch-For-Review, Pywikibot-textlib.py, Pywikibot
Xqt added a subtask for T278454: templatesWithParams misses template where a parameter value has a curly brace: T106763: Mandatory dependency on mwparserfromhell.
Mon, Apr 12, 4:45 PM · Pywikibot
Xqt added a parent task for T106763: Mandatory dependency on mwparserfromhell: T227386: template.py fails removing a template.
Mon, Apr 12, 4:41 PM · Patch-For-Review, Pywikibot-textlib.py, Pywikibot
Xqt added a subtask for T227386: template.py fails removing a template: T106763: Mandatory dependency on mwparserfromhell.
Mon, Apr 12, 4:41 PM · Pywikibot
Xqt lowered the priority of T207582: templatesWithParams() doesn't seem to get all templates in Hebrew from High to Low.

Please install either mwparserfromhell or wikitextparser. The Pywikibot ETP regex does not work for nested templates which is a known problem.

Mon, Apr 12, 4:38 PM · Pywikibot
Xqt added a parent task for T106763: Mandatory dependency on mwparserfromhell: T207582: templatesWithParams() doesn't seem to get all templates in Hebrew.
Mon, Apr 12, 4:33 PM · Patch-For-Review, Pywikibot-textlib.py, Pywikibot
Xqt added a subtask for T207582: templatesWithParams() doesn't seem to get all templates in Hebrew: T106763: Mandatory dependency on mwparserfromhell.
Mon, Apr 12, 4:33 PM · Pywikibot
Xqt added a reverting change for rPWBC1e2525b35fef: [tests] Do not skip tests due to MaxlagTimeoutError: rPWBC1f7deea48408: [tests] Revert: "Do not skip tests due to MaxlagTimeoutError".
Mon, Apr 12, 12:26 PM
Xqt committed rPWBC1f7deea48408: [tests] Revert: "Do not skip tests due to MaxlagTimeoutError" (authored by Xqt).
[tests] Revert: "Do not skip tests due to MaxlagTimeoutError"
Mon, Apr 12, 12:26 PM
Xqt added a comment to T279817: TRAVIS jobs cannot be restarted anymore.

Most repositories are running at travis.org: https://travis-ci.org/organizations/wikimedia/repositories but https://travis-ci.org/organizations/wikimedia/plan/usage isn't very helpfull here. Can someone contact their support? https://docs.travis-ci.com/user/billing-faq/#what-if-i-am-building-open-source

Mon, Apr 12, 11:37 AM · Continuous-Integration-Infrastructure, Release-Engineering-Team (CI & Testing services), Pywikibot
Xqt committed rPWBC90184b17101b: [doc] fix spelling mistake (authored by Xqt).
[doc] fix spelling mistake
Mon, Apr 12, 11:05 AM
Xqt changed the subtype of T93364: Bot does not recognize EditConflict from "Task" to "Bug Report".

There is another case reported with https://en.wikipedia.org/w/index.php?title=User_talk:Xqt&oldid=1017350521#Bot_bug?

Mon, Apr 12, 8:35 AM · Upstream, Pywikibot
Xqt placed T153942: add_text.py should add text above {{DEFAULTSORT}} up for grabs.
Mon, Apr 12, 5:43 AM · Patch-Needs-Improvement, Pywikibot

Sun, Apr 11

Xqt changed the status of T90422: reflinks.py ignores {{nobots}} from Declined to Invalid.

See T253709

Sun, Apr 11, 7:22 PM · Pywikibot
Xqt added a subtask for T55936: reflinks.py work with ref group: T98700: noreferences must recognize footnote groups.
Sun, Apr 11, 5:26 PM · Russian-Sites, Pywikibot, Pywikibot-Scripts
Xqt added a parent task for T98700: noreferences must recognize footnote groups: T55936: reflinks.py work with ref group.
Sun, Apr 11, 5:26 PM · Patch-Needs-Improvement, Pywikibot-Scripts, Pywikibot
Xqt added a comment to T98700: noreferences must recognize footnote groups.

@Xqt what do you think of merging this bug to T55936? I forgot about them, will try to reproduce and give more information later

Sun, Apr 11, 5:17 PM · Patch-Needs-Improvement, Pywikibot-Scripts, Pywikibot
Xqt updated the task description for T124007: FTP support for reflinks.py.
Sun, Apr 11, 1:57 PM · Regression, Pywikibot, Pywikibot-network, Pywikibot-Scripts
Xqt committed rPWBC770868bd34ef: [L10N] Update languages_by_size (authored by Xqt).
[L10N] Update languages_by_size
Sun, Apr 11, 1:22 PM
Xqt added a project to T279817: TRAVIS jobs cannot be restarted anymore: Continuous-Integration-Infrastructure.
Sun, Apr 11, 5:48 AM · Continuous-Integration-Infrastructure, Release-Engineering-Team (CI & Testing services), Pywikibot

Sat, Apr 10

Xqt closed T277890: Unnecessary else/elif used after raise as Resolved.
Sat, Apr 10, 4:13 PM · Patch-For-Review, good first task, Pywikibot
Xqt committed rPWBCb902833f34de: [bugfix] Solve AttributeError: module 'pywikibot.data' has no attribute 'mysql' (authored by Xqt).
[bugfix] Solve AttributeError: module 'pywikibot.data' has no attribute 'mysql'
Sat, Apr 10, 3:01 PM
Xqt created T279817: TRAVIS jobs cannot be restarted anymore.
Sat, Apr 10, 10:12 AM · Continuous-Integration-Infrastructure, Release-Engineering-Team (CI & Testing services), Pywikibot

Fri, Apr 9

Xqt committed rPWBC58977770096f: [bugfix] Context manager depends on pymysql version, not Python release (authored by Xqt).
[bugfix] Context manager depends on pymysql version, not Python release
Fri, Apr 9, 7:06 PM
Xqt closed T279753: MySQL: AttributeError: 'Cursor' object has no attribute 'cursor as Resolved.
Fri, Apr 9, 7:02 PM · Pywikibot
Xqt committed rPWBC6d836a4356ca: [doc] use maxdepth: 1 in docs/index.rst (authored by Xqt).
[doc] use maxdepth: 1 in docs/index.rst
Fri, Apr 9, 6:06 PM
Xqt committed rPWBC216c6e775425: [doc] Use rst with CREDITS (authored by Xqt).
[doc] Use rst with CREDITS
Fri, Apr 9, 2:45 PM
Xqt committed rPWBC90753d34463c: [doc] use rst with CREDITS (authored by Xqt).
[doc] use rst with CREDITS
Fri, Apr 9, 2:44 PM
Xqt committed rPWBCbb564b66d4cf: [doc] Add logo licence (authored by Xqt).
[doc] Add logo licence
Fri, Apr 9, 1:47 PM
Xqt committed rPWBC6244f766d12c: [tests] Use TestCase for interwikimap_tests.py (authored by Xqt).
[tests] Use TestCase for interwikimap_tests.py
Fri, Apr 9, 12:58 PM
Xqt claimed T279753: MySQL: AttributeError: 'Cursor' object has no attribute 'cursor.
Fri, Apr 9, 10:01 AM · Pywikibot
Xqt added a comment to T279753: MySQL: AttributeError: 'Cursor' object has no attribute 'cursor.

Was Pwb 3.0.dev0 (this version number did not change until this year for several years, although Pwb itself was regularly updated, probably it was a bug) → 6.0.1

Your traceback is surely Pywikibot 6.0.1 (stable). Anyway I can reproduce it:

Fri, Apr 9, 10:00 AM · Pywikibot
Xqt added a comment to T279753: MySQL: AttributeError: 'Cursor' object has no attribute 'cursor.

Works for me with pymysql 0.10 ans Python 3.5 as follows:

>>> import pymysql
>>> from contextlib import closing
>>> connection = pymysql.connect(defer_connect=True)
>>> connection = closing(connection)
>>> with connection as conn, conn.cursor() as cursor:
	pass
Fri, Apr 9, 7:56 AM · Pywikibot
Xqt triaged T279753: MySQL: AttributeError: 'Cursor' object has no attribute 'cursor as Medium priority.

@Vladis13: What was your previous environment (Python, Pywikibot, PyMySQL releases)?

Fri, Apr 9, 7:31 AM · Pywikibot
Xqt updated subscribers of T279753: MySQL: AttributeError: 'Cursor' object has no attribute 'cursor.
Fri, Apr 9, 7:25 AM · Pywikibot

Thu, Apr 8

Xqt changed the status of T249403: login.py crashes on 1.33 Fandom wikis from Stalled to Open.
Thu, Apr 8, 6:34 AM · TestMe, Upstream, Pywikibot-login.py, Pywikibot

Wed, Apr 7

Xqt committed rPWBCa29563dab552: [cleanup] Remove newimages method from ClosedSite (authored by Xqt).
[cleanup] Remove newimages method from ClosedSite
Wed, Apr 7, 3:53 PM
Xqt committed rPWBCf4271464cdb2: [IMPR] move interwiki.PageTree class to tools (authored by Xqt).
[IMPR] move interwiki.PageTree class to tools
Wed, Apr 7, 3:18 PM
Xqt committed rPWBCec73b2c7d94d: [IMPR] Use collections.Counter for InterwikiBot.counts (authored by Xqt).
[IMPR] Use collections.Counter for InterwikiBot.counts
Wed, Apr 7, 3:17 PM

Tue, Apr 6

Meno25 awarded T279250: Restore commonscat.py a Love token.
Tue, Apr 6, 5:25 PM · Pywikibot-Scripts, Pywikibot
Xqt closed T279286: SiteWatchlistRevsTestCase.test_watchlist_revs may fail with pywikibot.data.api.APIError: permissiondenied as Resolved.
Tue, Apr 6, 4:02 PM · Pywikibot-tests, Pywikibot
Xqt committed rPWBCf6ce498dbe93: [tests] add tests for interwikimap (authored by Xqt).
[tests] add tests for interwikimap
Tue, Apr 6, 2:58 PM
Xqt closed T188179: site.interwiki_prefix() method always fails, a subtask of T188157: Mediawiki.org interwiki is mw or mediawikiwiki, not mediawiki, as Resolved.
Tue, Apr 6, 11:28 AM · Patch-Needs-Improvement, Pywikibot-General, Pywikibot
Xqt closed T188179: site.interwiki_prefix() method always fails as Resolved.
Tue, Apr 6, 11:28 AM · Patch-For-Review, Pywikibot
Xqt added a comment to T106121: RFC removing old code / code cleanup.

I'm not sure having a never ending task is a good idea. You can create a ticket for specific clean ups (python2) or you can use gerrit hashtags if you want to have a way to find patch. You can also create a ticket for cleanups doable after a release maybe? (for example all deletions that can be done in v5 or v6) but a task that never gets resolved doesn't make much sense to me.

Tue, Apr 6, 11:15 AM · Tracking-Neverending, Pywikibot-RfCs, Proposal, Pywikibot
Xqt committed rPWBC38b33c26824b: [bugfix] key, values pairs of dicts must be unpacked with items() (authored by Xqt).
[bugfix] key, values pairs of dicts must be unpacked with items()
Tue, Apr 6, 7:53 AM
Xqt added a comment to T188179: site.interwiki_prefix() method always fails.

Now we have another but:

Tue, Apr 6, 7:18 AM · Patch-For-Review, Pywikibot
Xqt added a comment to T106121: RFC removing old code / code cleanup.

@Xqt: Hi, all related patches in Gerrit have been merged. Can this task be resolved (via Add Action...Change Status in the dropdown menu), or is there more to do in this task? Asking as you are set as task assignee. Thanks in advance!

Tue, Apr 6, 6:47 AM · Tracking-Neverending, Pywikibot-RfCs, Proposal, Pywikibot
Xqt placed T106121: RFC removing old code / code cleanup up for grabs.
Tue, Apr 6, 6:30 AM · Tracking-Neverending, Pywikibot-RfCs, Proposal, Pywikibot
Xqt added a project to T106121: RFC removing old code / code cleanup: Tracking-Neverending.
Tue, Apr 6, 6:29 AM · Tracking-Neverending, Pywikibot-RfCs, Proposal, Pywikibot

Mon, Apr 5

Xqt removed a project from T192084: [FEAT] patrol.py: Add quit option: Patch-For-Review.

Done with https://gerrit.wikimedia.org/r/425981

Mon, Apr 5, 5:04 PM · good first task, Pywikibot-Scripts, Pywikibot
Xqt committed rPWBC52cbdb187dca: [sphinx] Improvements for docs/conf.py (authored by Xqt).
[sphinx] Improvements for docs/conf.py
Mon, Apr 5, 3:17 PM
Xqt added a comment to T279283: Jenkins failing on all patches, "This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository".

Should be working again now (fix was only applied on 1/2 the hosts) please re-run l10nbot or +2 and it should work.

Mon, Apr 5, 2:57 PM · Patch-For-Review, Release-Engineering-Team, Continuous-Integration-Infrastructure
Xqt raised the priority of T279283: Jenkins failing on all patches, "This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository" from Medium to Unbreak Now!.
Mon, Apr 5, 2:27 PM · Patch-For-Review, Release-Engineering-Team, Continuous-Integration-Infrastructure
Xqt added a comment to T279283: Jenkins failing on all patches, "This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository".

changed priority as there is a work around in place now

Mon, Apr 5, 2:24 PM · Patch-For-Review, Release-Engineering-Team, Continuous-Integration-Infrastructure
Xqt triaged T279286: SiteWatchlistRevsTestCase.test_watchlist_revs may fail with pywikibot.data.api.APIError: permissiondenied as High priority.
Mon, Apr 5, 12:28 PM · Pywikibot-tests, Pywikibot
Xqt created T279286: SiteWatchlistRevsTestCase.test_watchlist_revs may fail with pywikibot.data.api.APIError: permissiondenied.
Mon, Apr 5, 12:27 PM · Pywikibot-tests, Pywikibot
Xqt committed rPWBCe390927295cc: [tests] Use subTest in reflinks_tests.py to avoid code duplications (authored by Xqt).
[tests] Use subTest in reflinks_tests.py to avoid code duplications
Mon, Apr 5, 10:15 AM
Xqt committed rPWBC9592473433c6: [tests] Use subTest in reflinks_tests.py (authored by Xqt).
[tests] Use subTest in reflinks_tests.py
Mon, Apr 5, 9:48 AM
Xqt committed rPWBCc4c4bcdd5f54: [tests] Add commons_information to script_tests.script_deps (authored by Xqt).
[tests] Add commons_information to script_tests.script_deps
Mon, Apr 5, 9:46 AM
Xqt committed rPWBC2e4c2590db21: [script] recover several scripts (authored by Xqt).
[script] recover several scripts
Mon, Apr 5, 8:22 AM
Xqt closed T279251: Restore patrol.py script as Resolved.
Mon, Apr 5, 8:20 AM · Pywikibot-Scripts, Pywikibot
Xqt closed T279250: Restore commonscat.py as Resolved.
Mon, Apr 5, 8:19 AM · Pywikibot-Scripts, Pywikibot

Sun, Apr 4

Xqt claimed T279251: Restore patrol.py script.
Sun, Apr 4, 7:00 PM · Pywikibot-Scripts, Pywikibot
Xqt claimed T279250: Restore commonscat.py.
Sun, Apr 4, 6:59 PM · Pywikibot-Scripts, Pywikibot
Xqt committed rPWBC5cd077a3009c: [sphinx] Fix docstrings in archivebot.py (authored by Xqt).
[sphinx] Fix docstrings in archivebot.py
Sun, Apr 4, 4:58 PM
Xqt committed rPWBCd6e5d06a252d: [sphinx] Add fixup for Initializer (authored by Xqt).
[sphinx] Add fixup for Initializer
Sun, Apr 4, 4:21 PM
Xqt committed rPWBCd0abcff21768: [sphinx] Bugfix for lines index (authored by Xqt).
[sphinx] Bugfix for lines index
Sun, Apr 4, 2:24 PM
Xqt committed rPWBCe9b5359f9a52: [sphinx] Remove """Initializer.""" from doc (authored by Xqt).
[sphinx] Remove """Initializer.""" from doc
Sun, Apr 4, 1:17 PM
Xqt committed rPWBC2984e5345304: [sphinx] Don't show Initializer anymore (authored by Xqt).
[sphinx] Don't show Initializer anymore
Sun, Apr 4, 1:02 PM
Xqt committed rPWBCb51e5ce475d6: [sphinx] Set autoclass_content to both (authored by Xqt).
[sphinx] Set autoclass_content to both
Sun, Apr 4, 12:40 PM
Xqt committed rPWBC52ca3f94209e: [bugfix] Fix bugs in imagetransfer.py (authored by Xqt).
[bugfix] Fix bugs in imagetransfer.py
Sun, Apr 4, 12:24 PM
Xqt committed rPWBC19c23696185f: [tests] Update user_tests.py due to FutureWarning (authored by Xqt).
[tests] Update user_tests.py due to FutureWarning
Sun, Apr 4, 12:24 PM
Xqt committed rPWBC34257be41fe8: [bugfix] Do not return a set with Page.isDisambig() (authored by Xqt).
[bugfix] Do not return a set with Page.isDisambig()
Sun, Apr 4, 12:24 PM

Sat, Apr 3

Xqt added a comment to T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right.

@Billinghurst: The source "File:The humanizing of commerce and industry; the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919 (IA humanizingofcomm00mussrich).pdf" does not exist. Take "File:The humanizing of commerce and industry, the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919.pdf" instead and input the new Name (without "File:") if ask for Enter a better name, or press enter to accept: . What is the result then?

Sat, Apr 3, 5:18 PM · Pywikibot-Scripts, Pywikibot
Xqt placed T278046: Convert epytext docstrings to reST (sphinx) up for grabs.

I think @epytext is more readable and the conversion is done by our doc/conf.py, see rPWBC574a0218d7be. No need to change the system then except we find a better lint checker than darglint.

Sat, Apr 3, 2:49 PM · Pywikibot, Pywikibot-Documentation
Xqt added a comment to T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right.

See also: T267535

Sat, Apr 3, 2:44 PM · Pywikibot-Scripts, Pywikibot
Xqt added a comment to T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right.

Noting that the use of -tolang; and -tofamily: failed

Sat, Apr 3, 2:21 PM · Pywikibot-Scripts, Pywikibot
Xqt added a comment to T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right.
Sat, Apr 3, 2:15 PM · Pywikibot-Scripts, Pywikibot
Xqt triaged T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right as Medium priority.
Sat, Apr 3, 2:15 PM · Pywikibot-Scripts, Pywikibot
Xqt committed rPWBC456cd42ef7e2: [IMPR] Update option handing for solve_disambiguation.py (authored by Xqt).
[IMPR] Update option handing for solve_disambiguation.py
Sat, Apr 3, 1:14 PM
Xqt committed rPWBCefe4e3ccdf81: [IMPR] Use the new DisambiguationRobot interface and options (authored by Xqt).
[IMPR] Use the new DisambiguationRobot interface and options
Sat, Apr 3, 1:14 PM
Xqt committed rPWBC48a674f7af87: [IMPR] use keyword arguments with solve_disambiguation.py (authored by Xqt).
[IMPR] use keyword arguments with solve_disambiguation.py
Sat, Apr 3, 1:12 PM
Xqt committed rPWBCd203902aaacd: [cleanup] remove deprecated logentries.MoveEntry methods (authored by Xqt).
[cleanup] remove deprecated logentries.MoveEntry methods
Sat, Apr 3, 12:58 PM
Xqt committed rPWBC30b05a7c5cea: [doc] fix docstring (authored by Xqt).
[doc] fix docstring
Sat, Apr 3, 12:46 PM
Xqt committed rPWBC8604fd52b394: adding some exceptions (bloomberg.com and some Russian sites) (authored by Rubin16).
adding some exceptions (bloomberg.com and some Russian sites)
Sat, Apr 3, 12:43 PM
Xqt committed rPWBC74d129a7f73e: [doc] ignore submodules which are imported by __all__ already (authored by Xqt).
[doc] ignore submodules which are imported by __all__ already
Sat, Apr 3, 10:01 AM
Xqt committed rPWBC4e53b91cc3ae: [sphinx] ignore deprecated methods (authored by Xqt).
[sphinx] ignore deprecated methods
Sat, Apr 3, 9:58 AM
Xqt committed rPWBC0bf74e72ddff: [doc] Skip empty __init__ (authored by Xqt).
[doc] Skip empty __init__
Sat, Apr 3, 9:19 AM
Xqt committed rPWBC44f7d692ebb8: [soc] ignore magic methods from doc (authored by Xqt).
[soc] ignore magic methods from doc
Sat, Apr 3, 8:43 AM
Xqt committed rPWBC9ff0f792214c: Fix spelling mistake (authored by Xqt).
Fix spelling mistake
Sat, Apr 3, 8:07 AM

Fri, Apr 2

Xqt committed rPWBC214a202d41bf: [doc] Add additional documentation to scripts/__init__.py (authored by Xqt).
[doc] Add additional documentation to scripts/__init__.py
Fri, Apr 2, 9:14 PM
Xqt committed rPWBC230adc6de662: [doc] Use predefined substitutions (authored by Xqt).
[doc] Use predefined substitutions
Fri, Apr 2, 9:04 PM
Xqt closed T279179: (ERROR/3) Undefined substitution referenced: as Resolved.
Fri, Apr 2, 9:02 PM · Patch-For-Review, Pywikibot, Pywikibot-Documentation, Pywikibot-tests
Xqt committed rPWBCdec21286f94e: [doc] Add exceptions hierarchy to exceptions file (authored by Xqt).
[doc] Add exceptions hierarchy to exceptions file
Fri, Apr 2, 8:11 PM
Xqt committed rPWBC8f540fe0feb7: [cleanup] Remove NoSuchSite an PageNotSaved exceptions (authored by Xqt).
[cleanup] Remove NoSuchSite an PageNotSaved exceptions
Fri, Apr 2, 8:05 PM
Xqt triaged T279179: (ERROR/3) Undefined substitution referenced: as Medium priority.
Fri, Apr 2, 7:19 PM · Patch-For-Review, Pywikibot, Pywikibot-Documentation, Pywikibot-tests