Xqt
Pywikibot developer / Bureaucrat on de-wiki

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

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

Recent Activity

Today

Xqt lowered the priority of T202189: diff-checker.py counts bytes not unicodes from Low to Lowest.
Sun, Aug 19, 3:12 PM · Pywikibot-tests, Pywikibot-core
Xqt added a comment to T202189: diff-checker.py counts bytes not unicodes.

There are some hidden characters inside like "়া" (without the last one) which are counted with len() but I have 5 characters available until the rigtht side of a 80 column page. Maybe this is a such a minor problem that we just could decline it. I guess it does not worth to fix it.

Sun, Aug 19, 3:12 PM · Pywikibot-tests, Pywikibot-core
Xqt triaged T202238: tests.tools_chars_tests.CharsTestCase.test_category_cf fails with AssertionError as High priority.
Sun, Aug 19, 2:55 PM · Pywikibot-tests, Pywikibot-core
Xqt created T202238: tests.tools_chars_tests.CharsTestCase.test_category_cf fails with AssertionError.
Sun, Aug 19, 2:55 PM · Pywikibot-tests, Pywikibot-core
Xqt reassigned T199199: Documentation of -recentchanges is misleading from AdityaJ to Dalba.
Sun, Aug 19, 10:26 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot-core, Pywikibot-pagegenerators.py
Xqt closed T199199: Documentation of -recentchanges is misleading as Resolved.
Sun, Aug 19, 10:25 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot-core, Pywikibot-pagegenerators.py

Yesterday

Liuxinyu970226 awarded T99365: [RFC] Compat deprecation a Like token.
Sat, Aug 18, 2:58 PM · Patch-For-Review, Proposal, Pywikibot-compat-to-core
Liuxinyu970226 awarded T101214: Decommission compat a Dislike token.
Sat, Aug 18, 2:58 PM · Patch-For-Review, Sysadmin-notice, User-notice, Pywikibot-compat, Pywikibot-core
Xqt reassigned T199615: filter_unique leaks memory from Xqt to Dalba.
Sat, Aug 18, 11:04 AM · Pywikibot-core
Xqt closed T201969: pwb.py catall script adds an extra ':' as Resolved.
Sat, Aug 18, 11:03 AM · Patch-For-Review, Pywikibot-core, Pywikibot-catfiles
Xqt closed T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ » as Resolved.
Sat, Aug 18, 11:02 AM · Patch-For-Review, Pywikibot-core, Pywikibot-redirect.py
Xqt triaged T202189: diff-checker.py counts bytes not unicodes as Low priority.
Sat, Aug 18, 10:35 AM · Pywikibot-tests, Pywikibot-core
Xqt created T202189: diff-checker.py counts bytes not unicodes.
Sat, Aug 18, 10:35 AM · Pywikibot-tests, Pywikibot-core

Fri, Aug 17

Xqt added a comment to T202117: Add new Wikipedias to wikipedia family file.

We have moved to git and are no longer on svn. Can you show us your output of python pwb.oy version?

Fri, Aug 17, 8:19 PM · Pywikibot-core

Wed, Aug 15

Xqt triaged T201969: pwb.py catall script adds an extra ':' as High priority.
Wed, Aug 15, 8:36 PM · Patch-For-Review, Pywikibot-core, Pywikibot-catfiles

Fri, Aug 10

Xqt triaged T201664: _test_logevent sometimes fails with AssertionError: Regex didn't match as High priority.
Fri, Aug 10, 5:57 PM · Patch-For-Review, Pywikibot-tests
Xqt closed T201664: _test_logevent sometimes fails with AssertionError: Regex didn't match as Resolved.
Fri, Aug 10, 5:57 PM · Patch-For-Review, Pywikibot-tests

Tue, Aug 7

Xqt edited projects for T201459: pagegenerators_tests.PageGeneratorIntersectTestCase fails in test_intersect_newpages_twice , added: Pywikibot-core; removed Pywikibot-compat-to-core.
Tue, Aug 7, 8:19 PM · Pywikibot-core, Pywikibot-tests
Xqt triaged T201459: pagegenerators_tests.PageGeneratorIntersectTestCase fails in test_intersect_newpages_twice as High priority.
Tue, Aug 7, 7:56 PM · Pywikibot-core, Pywikibot-tests
Xqt created T201459: pagegenerators_tests.PageGeneratorIntersectTestCase fails in test_intersect_newpages_twice .
Tue, Aug 7, 7:56 PM · Pywikibot-core, Pywikibot-tests

Fri, Aug 3

Xqt closed T75120: test_image_usage_no_redirect_filter failure, a subtask of T60053: Pywikibot Python 3 compatibility (tracking), as Declined.
Fri, Aug 3, 7:30 PM · Tracking, Pywikibot-core
Xqt closed T75120: test_image_usage_no_redirect_filter failure as Declined.

py 3.3 is no longer supported by pwb

Fri, Aug 3, 7:30 PM · Pywikibot-core, Pywikibot-tests
Xqt closed T74603: 'Maximum retries' api.py exception is not Python 3 compatible as Invalid.

See comments above

Fri, Aug 3, 7:28 PM · Pywikibot-core, Pywikibot-network
Xqt closed T74603: 'Maximum retries' api.py exception is not Python 3 compatible, a subtask of T60053: Pywikibot Python 3 compatibility (tracking), as Invalid.
Fri, Aug 3, 7:28 PM · Tracking, Pywikibot-core
Xqt closed T184674: Drop "2" from names of environmental variables as Resolved.
Fri, Aug 3, 7:15 PM · Patch-For-Review, Pywikibot-core

Sun, Jul 29

Xqt added a comment to T96127: windows unicode directory names fail on py2.

Decoding sys.argv[0] would solve this issue above
absolute_path = abspath(os.path.dirname(sys.argv[0].decode('utf-8')))
but the same problem occurs when importing:

Sun, Jul 29, 5:15 PM · Pywikibot-core
Xqt triaged T96127: windows unicode directory names fail on py2 as High priority.
Sun, Jul 29, 5:03 PM · Pywikibot-core
Xqt closed T119855: Attempting to login with pwb.py results in Permission denied on Mac OS X as Declined.

This is a core 2.0 issue which is no longer maintained.

Sun, Jul 29, 4:56 PM · Upstream, Pywikibot-login.py, Pywikibot-core
Xqt added a comment to T106121: RFC removing old code / code cleanup.

Okay, now we can remove deprecations older than 2 ( ? 3? ) years!

Sun, Jul 29, 2:36 PM · Pywikibot-RfCs, Patch-For-Review, Proposal, Pywikibot-core
Xqt triaged T200399: Remove disambiguation bracket in labels when creating new items for articles as Normal priority.
Sun, Jul 29, 11:26 AM · Pywikibot-core, Pywikibot-Wikidata
Xqt triaged T200234: Create edit groups when running Wikidata-related scripts as Low priority.
Sun, Jul 29, 9:44 AM · Pywikibot-core, Pywikibot-Wikidata
Xqt added a comment to T200399: Remove disambiguation bracket in labels when creating new items for articles.

Could you explain a bit please.

Sun, Jul 29, 9:38 AM · Pywikibot-core, Pywikibot-Wikidata
Xqt triaged T199933: Get rid of "This documentation is incomplete" in the doc index page as Lowest priority.

Is there a reason to leave her?

I guess the manual at mediawiki is a better place for the manual than docs because it is easier to update and it sin not needed to submit changes throught the code review workflow. Whereas docs is the right place for the api documentation and additional stuff related to it. I tend to remove that warning banner.

Sun, Jul 29, 9:36 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot-core

Wed, Jul 25

Xqt added a comment to T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ ».

See also T130911

Wed, Jul 25, 7:24 PM · Patch-For-Review, Pywikibot-core, Pywikibot-redirect.py
Xqt claimed T200261: Add Bangla Wikimedia projects' sandbox pages to clean_sandbox.py.

I've added the L10N for content dict to use clean_sandbox for "bn" site code. This works for all projects wich have a sandbox page listed on wikidata item Q3938. For he others the -page option has to be used to choose the page. Or create a wikidata item for it which could be added to the "sandbox_titles" item tuple.

Wed, Jul 25, 3:48 PM · Pywikibot-core, Pywikibot-Other-scripts

Tue, Jul 24

Xqt placed T200261: Add Bangla Wikimedia projects' sandbox pages to clean_sandbox.py up for grabs.

-easy: this is not trivial. First we need the common content for the sandbox page but what is it? Either one for all or one for each site or one for each page. Currently 'bn' isn't localized. Second the default project page is either Q3938 or Q28939665. Now we have 3 pages for each 'bn' site. Finally multipe -page options may work but the content is still missing and -text option is needed.

Tue, Jul 24, 10:09 PM · Pywikibot-core, Pywikibot-Other-scripts

Mon, Jul 23

Xqt closed T97382: pep257: property.setters no longer need docstrings as Resolved.
Mon, Jul 23, 3:18 PM · Patch-For-Review, Pywikibot-Documentation, Documentation, Pywikibot-core
Xqt claimed T97382: pep257: property.setters no longer need docstrings.
Mon, Jul 23, 9:05 AM · Patch-For-Review, Pywikibot-Documentation, Documentation, Pywikibot-core
Xqt closed T199085: TestSiteGenerators.test_allpages_langlinks_enabled test fails as Resolved.
Mon, Jul 23, 8:52 AM · Beta-Cluster-Infrastructure, Pywikibot-tests, Pywikibot-core
Xqt closed T134172: Python 3 fails with UnicodeDecodeError as Resolved.
Mon, Jul 23, 8:51 AM · Pywikibot-tests, Pywikibot-General, Pywikibot-core
Xqt closed T134172: Python 3 fails with UnicodeDecodeError, a subtask of T60053: Pywikibot Python 3 compatibility (tracking), as Resolved.
Mon, Jul 23, 8:51 AM · Tracking, Pywikibot-core

Sun, Jul 22

Xqt closed T57173: Line ending inconsistency when using XmlReader as Declined.

This is valid for compat only

Sun, Jul 22, 5:42 AM · Pywikibot-compat, Pywikibot-Other-scripts

Jul 17 2018

Xqt closed T199751: Cosmetic changes duplicates categories in the footer as Resolved.
Jul 17 2018, 5:33 PM · Patch-For-Review, Regression, Pywikibot-core, Pywikibot-textlib.py, Pywikibot-cosmetic-changes.py
Xqt triaged T199819: http_tests.BinaryTestCase.test_requests is failing due to ConnectionError as Low priority.
Jul 17 2018, 5:32 PM · Pywikibot-tests, Pywikibot-core
Xqt created T199819: http_tests.BinaryTestCase.test_requests is failing due to ConnectionError.
Jul 17 2018, 5:31 PM · Pywikibot-tests, Pywikibot-core
Xqt added a comment to T106121: RFC removing old code / code cleanup.

I'm confused, there already are some deprecations in 7 scripts. So we just need to start deprecating in scripts? I would support to finish https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/399755/ ASAP for this.

Jul 17 2018, 12:04 PM · Pywikibot-RfCs, Patch-For-Review, Proposal, Pywikibot-core
Xqt added a comment to T57212: Update commonscat.py for en-wiki.

At first this needs to add localisation into commonscat.

There are two L10N dicts in commonscat already. What is needed further?

Jul 17 2018, 11:03 AM · Pywikibot-core, Pywikibot-General
Xqt added a comment to T106121: RFC removing old code / code cleanup.

Maybe we should move scripts directory to _scripts to make this more explicit?

Jul 17 2018, 11:01 AM · Pywikibot-RfCs, Patch-For-Review, Proposal, Pywikibot-core
Xqt added a comment to T106121: RFC removing old code / code cleanup.

Personally I would continue to deprecate parts of scripts as before.

Jul 17 2018, 10:56 AM · Pywikibot-RfCs, Patch-For-Review, Proposal, Pywikibot-core
Xqt reassigned T199642: WikidataBot: Never write to wikidata:-1 from Xqt to matej_suchanek.
Jul 17 2018, 7:25 AM · Patch-For-Review, Pywikibot-Wikidata, Pywikibot-core
Xqt closed T199642: WikidataBot: Never write to wikidata:-1 as Resolved.
Jul 17 2018, 7:24 AM · Patch-For-Review, Pywikibot-Wikidata, Pywikibot-core
Xqt added a comment to T57212: Update commonscat.py for en-wiki.

Can somebody update what is to be updated here please.

Jul 17 2018, 7:06 AM · Pywikibot-core, Pywikibot-General
Xqt triaged T199751: Cosmetic changes duplicates categories in the footer as High priority.
Jul 17 2018, 7:01 AM · Patch-For-Review, Regression, Pywikibot-core, Pywikibot-textlib.py, Pywikibot-cosmetic-changes.py
Xqt closed T198889: Allow different projects of the same language to have different configs in clean_sandbox.py as Resolved.
Jul 17 2018, 7:01 AM · Patch-For-Review, Easy, Pywikibot-core, Pywikibot-Other-scripts

Jul 16 2018

Xqt added a comment to T199661: filter_unique: allow only checking page names.

I also cannot follow this request. Could you explain please or make an example of what do you expect and what is the current behavior.

Jul 16 2018, 5:21 PM · Pywikibot-core
Xqt added a comment to T198889: Allow different projects of the same language to have different configs in clean_sandbox.py.

Is that implementable?

Jul 16 2018, 4:58 PM · Patch-For-Review, Easy, Pywikibot-core, Pywikibot-Other-scripts
Xqt closed T57028: adding 'bot' argument for NewpagesPageGenerator() as Resolved.

bot and redirect parameters are already implemented for newpages. Adding this to NewpagesPageGenerator does not make any sense because GeneratorFactory.handleArg cannot retrieve these parameters.

Jul 16 2018, 2:11 PM · Pywikibot-pagegenerators.py
Xqt added a comment to T198889: Allow different projects of the same language to have different configs in clean_sandbox.py.

could we have some instructions as to how to configure those projects on the clean_sandbox.py script code? Thanks.

See that sample given above:

Jul 16 2018, 12:30 PM · Patch-For-Review, Easy, Pywikibot-core, Pywikibot-Other-scripts
Xqt claimed T196851: Evaluate BaseBot class usage across scripts.
Jul 16 2018, 6:44 AM · Patch-For-Review, Pywikibot-core
Xqt claimed T198889: Allow different projects of the same language to have different configs in clean_sandbox.py.
Jul 16 2018, 6:24 AM · Patch-For-Review, Easy, Pywikibot-core, Pywikibot-Other-scripts
Xqt triaged T198889: Allow different projects of the same language to have different configs in clean_sandbox.py as Low priority.

It can have different settings already. Just add it to the xdict L10N table „content“ like:

Ah, I see: The problem is the check inside initializer.

Jul 16 2018, 6:12 AM · Patch-For-Review, Easy, Pywikibot-core, Pywikibot-Other-scripts

Jul 15 2018

Xqt added a comment to T192912: Unexpected ratelimit makes Pywikibot crash.

Cannot follow this task. Pywikibot is throttleling not to edit more than 6 (I guess) pages per minute by default. What might be the reason that the limit of 40 pages is exceeded. What was the putthrottle setting when the exception occurred?

Jul 15 2018, 4:58 PM · Pywikibot-core, Pywikibot-Wikidata, Wikidata
Xqt added a project to T198889: Allow different projects of the same language to have different configs in clean_sandbox.py: Easy.

It can have different settings already. Just add it to the xdict L10N table „content“ like:

Jul 15 2018, 4:45 PM · Patch-For-Review, Easy, Pywikibot-core, Pywikibot-Other-scripts
Xqt closed T195538: Remove the use of inline flags in the middle of regular expression as Resolved.
Jul 15 2018, 1:43 PM · Patch-For-Review, Upstream, Pywikibot-core
Xqt claimed T199615: filter_unique leaks memory.

I did some measurements for the memory needed for the statements given above:

Jul 15 2018, 9:03 AM · Pywikibot-core
Xqt changed the status of T195538: Remove the use of inline flags in the middle of regular expression from Stalled to Open.
Jul 15 2018, 8:26 AM · Patch-For-Review, Upstream, Pywikibot-core

Jul 14 2018

Xqt added a comment to T199615: filter_unique leaks memory.

We could

  • use hash function for the filter_unique key
  • use hash function for the filter_unique key by default
  • use a GeneratorFactory Container attribute to hold the seen pages which could be reused when we have more than one duplicate filter
  • use an container which uses disk space instead of memory (but this could be time consuming)
Jul 14 2018, 8:10 PM · Pywikibot-core
Xqt added a comment to T199615: filter_unique leaks memory.

No glue where the Memory leakage might come from.

I see the getsizeof() counts the pointers only but not the Page objects itself.

Jul 14 2018, 6:51 PM · Pywikibot-core
Xqt added a comment to T199615: filter_unique leaks memory.

Long-running tasks may end on MemoryError to filter_unique leaks Memory

Why do you assume that?
Try:

Jul 14 2018, 6:32 PM · Pywikibot-core
Xqt triaged T182685: archivebot.py could archive unsigned threads using timestamp of thread underneath as Low priority.
Jul 14 2018, 6:25 PM · Pywikibot-core, Pywikibot-archivebot.py
Xqt added a comment to T199615: filter_unique leaks memory.

This is too undetermined. Could you give a sample?
When filter_unique is used the filter key could be replaced by the hash but this does not solve a lot. Most space is used by the content but it is not clear to me where this is hold after processing.

Jul 14 2018, 2:26 PM · Pywikibot-core
Xqt closed T69663: unsigned comments cause travis build breakage as Resolved.
Jul 14 2018, 2:13 PM · Pywikibot-tests, Pywikibot-core, Pywikibot-archivebot.py
Xqt closed T69663: unsigned comments cause travis build breakage, a subtask of T152961: Improve tests suite, as Resolved.
Jul 14 2018, 2:13 PM · Pywikibot-tests, Pywikibot-core
Xqt closed T199539: archivebot_tests tests are failing as Resolved.
Jul 14 2018, 1:31 PM · Patch-For-Review, Regression, Pywikibot-archivebot.py, Pywikibot-tests, Pywikibot-core
Xqt reopened T69663: unsigned comments cause travis build breakage as "Open".
Jul 14 2018, 1:31 PM · Pywikibot-tests, Pywikibot-core, Pywikibot-archivebot.py
Xqt reopened T69663: unsigned comments cause travis build breakage, a subtask of T152961: Improve tests suite, as Open.
Jul 14 2018, 1:31 PM · Pywikibot-tests, Pywikibot-core
Xqt closed T69663: unsigned comments cause travis build breakage as Resolved.

unsigned comments are valid threads and archivebot ignores them. Unfortunately these threads leads test to fail but we must not ignore them otherwise we cannot check whether the regexes work properly. How proceed in this case?

  • either add a timestamp to the talk thread
  • or use an alternate talk page for a given site

All other exceptions means there is an undetected timestamp and should be fixed be the regex.

Jul 14 2018, 11:18 AM · Pywikibot-tests, Pywikibot-core, Pywikibot-archivebot.py
Xqt closed T69663: unsigned comments cause travis build breakage, a subtask of T152961: Improve tests suite, as Resolved.
Jul 14 2018, 11:18 AM · Pywikibot-tests, Pywikibot-core
Xqt added a comment to T199539: archivebot_tests tests are failing.

The error message is equal to that in T69663. Can we solve it at once?

Jul 14 2018, 10:53 AM · Patch-For-Review, Regression, Pywikibot-archivebot.py, Pywikibot-tests, Pywikibot-core
Xqt closed T199604: TestSectionFunctions.test_spaces_outside_section fails with Python 3.7 as Resolved.
Jul 14 2018, 9:58 AM · Patch-For-Review, Pywikibot-tests, Pywikibot-core
Xqt claimed T199605: Weird deprecation warning by textlib._get_regexes().
Jul 14 2018, 9:04 AM · Patch-For-Review, Pywikibot-core
Xqt triaged T199605: Weird deprecation warning by textlib._get_regexes() as Low priority.
Jul 14 2018, 9:04 AM · Patch-For-Review, Pywikibot-core
Xqt created T199605: Weird deprecation warning by textlib._get_regexes().
Jul 14 2018, 9:03 AM · Patch-For-Review, Pywikibot-core

Jul 13 2018

Xqt triaged T199539: archivebot_tests tests are failing as High priority.
Jul 13 2018, 2:14 PM · Patch-For-Review, Regression, Pywikibot-archivebot.py, Pywikibot-tests, Pywikibot-core
Xqt created T199539: archivebot_tests tests are failing.
Jul 13 2018, 2:13 PM · Patch-For-Review, Regression, Pywikibot-archivebot.py, Pywikibot-tests, Pywikibot-core
Xqt closed T181861: category_redirect.py is missing localisation as Resolved.
Jul 13 2018, 7:33 AM · Easy, Patch-For-Review, Pywikibot-i18n, Pywikibot-Other-scripts, Pywikibot-core

Jul 11 2018

Xqt triaged T199302: http_tests.DataBodyParameterTestCase.test_fetch fails with ValueError as High priority.

https://api.travis-ci.org/v3/job/402542460/log.txt

Jul 11 2018, 9:11 AM · Pywikibot-tests, Pywikibot-core
Xqt created T199302: http_tests.DataBodyParameterTestCase.test_fetch fails with ValueError.
Jul 11 2018, 9:10 AM · Pywikibot-tests, Pywikibot-core

Jul 10 2018

Xqt triaged T196258: ChangeLog needs to be updated, merged into HISTORY.rst, or removed as Low priority.
Jul 10 2018, 7:08 PM · Easy, Pywikibot-core
Xqt placed T199085: TestSiteGenerators.test_allpages_langlinks_enabled test fails up for grabs.
Jul 10 2018, 12:30 PM · Beta-Cluster-Infrastructure, Pywikibot-tests, Pywikibot-core
Xqt added a comment to T199199: Documentation of -recentchanges is misleading.

No glue why this rdirection change was introduced with T129193; I propose to revert it as suggested.

Jul 10 2018, 10:33 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot-core, Pywikibot-pagegenerators.py
Xqt triaged T199199: Documentation of -recentchanges is misleading as Normal priority.
Jul 10 2018, 10:23 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot-core, Pywikibot-pagegenerators.py
Xqt updated subscribers of T199199: Documentation of -recentchanges is misleading.
Jul 10 2018, 10:22 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot-core, Pywikibot-pagegenerators.py
Xqt added a comment to T199085: TestSiteGenerators.test_allpages_langlinks_enabled test fails.

Seems it is solved upstream. No further failure seen in tests.

Jul 10 2018, 10:18 AM · Beta-Cluster-Infrastructure, Pywikibot-tests, Pywikibot-core
Xqt closed T199179: test_iso_format fails as Resolved.
Jul 10 2018, 7:58 AM · Patch-For-Review, Pywikibot-tests, Pywikibot-core

Jul 9 2018

Xqt triaged T199094: Add a wellformed help string to flickrripper.py and move todos to phabricator as Lowest priority.
Jul 9 2018, 10:44 AM · Easy, Pywikibot-Documentation, Pywikibot-Other-scripts, Pywikibot-core
Xqt created T199094: Add a wellformed help string to flickrripper.py and move todos to phabricator.
Jul 9 2018, 10:44 AM · Easy, Pywikibot-Documentation, Pywikibot-Other-scripts, Pywikibot-core
Xqt triaged T199071: test_titleblacklist is failing as High priority.
Jul 9 2018, 10:05 AM · Pywikibot-tests, Pywikibot-core
Xqt added a comment to T199071: test_titleblacklist is failing.

Seems this edit shouldn't have been done too.

Jul 9 2018, 9:59 AM · Pywikibot-tests, Pywikibot-core
Xqt triaged T199085: TestSiteGenerators.test_allpages_langlinks_enabled test fails as High priority.
Jul 9 2018, 9:53 AM · Beta-Cluster-Infrastructure, Pywikibot-tests, Pywikibot-core