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 (491 w, 2 d)
Availability
Available
IRC Nick
xqt
LDAP User
Xqt
MediaWiki User
Xqt [ Global Accounts ]

Recent Activity

Sun, Apr 14

Xqt closed T362493: test_searchitem_language method of pagegenerators.TestFactoryGeneratorWikibase fails as Resolved.
Sun, Apr 14, 7:11 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Xqt updated subscribers of T362484: svn checkout from https://github.com/wikimedia/pywikibot/trunk does not work any longer.
Sun, Apr 14, 6:51 PM · Patch-For-Review, Upstream, Pywikibot
Xqt triaged T362493: test_searchitem_language method of pagegenerators.TestFactoryGeneratorWikibase fails as High priority.
Sun, Apr 14, 6:14 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Xqt updated the task description for T362493: test_searchitem_language method of pagegenerators.TestFactoryGeneratorWikibase fails.
Sun, Apr 14, 6:14 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Xqt created T362493: test_searchitem_language method of pagegenerators.TestFactoryGeneratorWikibase fails.
Sun, Apr 14, 6:13 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Xqt triaged T362492: nightly version file is not detected with version.getversion_nightly() as High priority.
Sun, Apr 14, 6:02 PM · Patch-For-Review, Pywikibot
Xqt created T362492: nightly version file is not detected with version.getversion_nightly().
Sun, Apr 14, 5:44 PM · Patch-For-Review, Pywikibot
Xqt claimed T362484: svn checkout from https://github.com/wikimedia/pywikibot/trunk does not work any longer.
Sun, Apr 14, 1:19 PM · Patch-For-Review, Upstream, Pywikibot
Xqt added a project to T362484: svn checkout from https://github.com/wikimedia/pywikibot/trunk does not work any longer: Upstream.

This is unsupported upstream:
https://github.blog/2023-01-20-sunsetting-subversion-support/

Sun, Apr 14, 11:45 AM · Patch-For-Review, Upstream, Pywikibot
Xqt created T362484: svn checkout from https://github.com/wikimedia/pywikibot/trunk does not work any longer.
Sun, Apr 14, 11:33 AM · Patch-For-Review, Upstream, Pywikibot
Xqt triaged T362479: Code scanning warnings found with CodeQL as High priority.
Sun, Apr 14, 9:57 AM · Pywikibot
Xqt created T362479: Code scanning warnings found with CodeQL.
Sun, Apr 14, 9:57 AM · Pywikibot
Xqt added a comment to T362103: TypeError: 'NoneType' object is not iterable from noreferences script.

@PotsdamLamb: No glue. @JJMC89: any ideas?

Sun, Apr 14, 9:26 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Fri, Apr 12

Xqt added a comment to T362384: pagegenerators_tests fails on wowwiki:uk.

Looks like 'imageinfo' is not found in api.PageGenerator.result's pagedict for api._generators.update_page and FilePage._load_file_revisions() is not called that function.

Fri, Apr 12, 7:53 AM · Pywikibot-tests, Pywikibot
Xqt updated the task description for T362384: pagegenerators_tests fails on wowwiki:uk.
Fri, Apr 12, 7:08 AM · Pywikibot-tests, Pywikibot
Xqt triaged T362384: pagegenerators_tests fails on wowwiki:uk as High priority.
Fri, Apr 12, 7:06 AM · Pywikibot-tests, Pywikibot
Xqt created T362384: pagegenerators_tests fails on wowwiki:uk.
Fri, Apr 12, 7:06 AM · Pywikibot-tests, Pywikibot
Xqt added a comment to T362103: TypeError: 'NoneType' object is not iterable from noreferences script.

Please check whether you have pwb -family:wikipedia -lang:simple or pwb -site:Wikipedia:simple within your command line.

Fri, Apr 12, 5:53 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Xqt added a comment to T362377: contributions() doesn't work for CIDR ranges.

See also: T135359

Fri, Apr 12, 5:43 AM · Pywikibot

Thu, Apr 11

Xqt closed T326614: Don't try to login during logout as Resolved.
Thu, Apr 11, 3:00 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot
Xqt added a comment to T362103: TypeError: 'NoneType' object is not iterable from noreferences script.

@PotsdamLamb: Could you please check the current L10N for simplewiki?

Thu, Apr 11, 9:52 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Xqt added a comment to T326614: Don't try to login during logout.

@ericpien: thanks a lot for your patch. We have to check it against T222508 but I assume it works as expected. Thanks again.

Thu, Apr 11, 6:29 AM · Patch-For-Review, Pywikibot-login.py, Pywikibot
Xqt assigned T326614: Don't try to login during logout to ericpien.
Thu, Apr 11, 6:23 AM · Patch-For-Review, Pywikibot-login.py, Pywikibot

Wed, Apr 10

Xqt added a comment to T57213: Commonscat.py puts template in wrong location.

See https://en.wikipedia.org/w/index.php?title=%27Asir_Province&diff=next&oldid=475443849 for the wished place

Wed, Apr 10, 9:19 AM · Pywikibot, Pywikibot-Commons, Pywikibot-Scripts
Xqt lowered the priority of T362103: TypeError: 'NoneType' object is not iterable from noreferences script from High to Medium.
Wed, Apr 10, 8:52 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Xqt moved T362103: TypeError: 'NoneType' object is not iterable from noreferences script from Backlog to L10N/i18n on the Pywikibot-Scripts board.
Wed, Apr 10, 8:51 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Xqt triaged T362103: TypeError: 'NoneType' object is not iterable from noreferences script as High priority.
Wed, Apr 10, 8:09 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Xqt added a comment to T362103: TypeError: 'NoneType' object is not iterable from noreferences script.

@PotsdamLamb: The references templates of simplewiki are not the same as at en-wiki. For example FootnotesSmall or Ref-list is missing but a Ref list is present. There are also some other differences. Therefore the script has to be localized first that it can be used. Could you please check the settings dictionaries of this script and provide valid 'simple' entries?

Wed, Apr 10, 7:25 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Tue, Apr 9

Xqt added a comment to T362103: TypeError: 'NoneType' object is not iterable from noreferences script.

Seems noreferences is not localized for simple-wiki. The same traceback is shown e.g. for frr-wiki. Anyway the script should pass gracefully in such case.
@PotsdamLamb : Can we localize the bot with en-wiki entries or is there any difference?

Tue, Apr 9, 1:02 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Mon, Apr 8

Xqt closed T362035: colors.py: Exiting due to uncaught exception TypeError: 'float' object cannot be interpreted as an integer as Resolved.
Mon, Apr 8, 5:17 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Xqt claimed T362035: colors.py: Exiting due to uncaught exception TypeError: 'float' object cannot be interpreted as an integer.
Mon, Apr 8, 4:20 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Sun, Apr 7

Xqt moved T325860: Unable to submit any pywikibot.WbTime with hour/minute/second even if precision is day or lower from Backlog to Reported Upstream on the Upstream board.
Sun, Apr 7, 6:40 PM · Upstream, Pywikibot-Wikidata, Pywikibot
Xqt moved T359427: site_generators_tests -v TestSiteGenerators.test_all_links fails on several wikis from Backlog to Reported Upstream on the Upstream board.
Sun, Apr 7, 6:38 PM · Upstream, Pywikibot-tests, Pywikibot
Xqt moved T362026: Lately code blocks appear underlined on github from Backlog to Upstream issues on the Pywikibot board.
Sun, Apr 7, 6:36 PM · Upstream, Pywikibot-Documentation, Pywikibot
Xqt triaged T362026: Lately code blocks appear underlined on github as Medium priority.
Sun, Apr 7, 3:47 PM · Upstream, Pywikibot-Documentation, Pywikibot
Xqt created T362026: Lately code blocks appear underlined on github.
Sun, Apr 7, 3:47 PM · Upstream, Pywikibot-Documentation, Pywikibot
Xqt added a comment to T361999: Appveyor tests fails for Python > 3.7.0.

The bash uploader is deprecated:
https://docs.codecov.com/docs/about-the-codecov-bash-uploader

Sun, Apr 7, 3:06 PM · Patch-For-Review, Pywikibot-tests, Pywikibot

Sat, Apr 6

Xqt changed the subtype of T361999: Appveyor tests fails for Python > 3.7.0 from "Task" to "Bug Report".
Sat, Apr 6, 1:00 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Xqt triaged T361999: Appveyor tests fails for Python > 3.7.0 as High priority.
Sat, Apr 6, 12:58 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Xqt created T361999: Appveyor tests fails for Python > 3.7.0.
Sat, Apr 6, 12:58 PM · Patch-For-Review, Pywikibot-tests, Pywikibot

Wed, Apr 3

Xqt added a project to T352237: delinker.py script of pywikibot can't solve those deleted files comes with no extension: Pywikibot-Scripts.
Wed, Apr 3, 2:31 PM · Pywikibot-Scripts, Pywikibot
Xqt added a comment to T352237: delinker.py script of pywikibot can't solve those deleted files comes with no extension.

I think there should be a fallback somehow from FilePage to Page object in such case.

Wed, Apr 3, 2:30 PM · Pywikibot-Scripts, Pywikibot
Xqt closed T359766: pywikibot.handle_args() shouldn't be used within private scripts as Resolved.
Wed, Apr 3, 2:26 PM · Patch-For-Review, Pywikibot-Documentation, Pywikibot
Xqt claimed T359766: pywikibot.handle_args() shouldn't be used within private scripts.
Wed, Apr 3, 12:51 PM · Patch-For-Review, Pywikibot-Documentation, Pywikibot
Xqt added a comment to T253591: page generators can truncate responses when there is excessive metadata (e.g. DjVu/PDF files).

@Ninovolador : What is your Python release. Could you please describe this issue a bit more because there was a change made in Pywikibot 8.6 which should have been solved it.

Wed, Apr 3, 8:51 AM · TestMe, Pywikibot-Commons, Pywikibot
Xqt closed T233608: cannot use delete.py despite being admin on a wiki as Resolved.

probably a remaining PAWS issue. Closing this.

Wed, Apr 3, 8:31 AM · TestMe, Pywikibot-login.py, Pywikibot, User-revi
Xqt closed T298892: script_tests.TestScriptSimulate.speedy_delete somtimes fails when the user is not logged in as Resolved.
Wed, Apr 3, 8:26 AM · Pywikibot-tests, Pywikibot
Xqt merged task T274524: test_speedy_delete fails in -simulate mode due to test user is not logged in into T298892: script_tests.TestScriptSimulate.speedy_delete somtimes fails when the user is not logged in.
Wed, Apr 3, 8:25 AM · Pywikibot-tests, Pywikibot
Xqt merged T274524: test_speedy_delete fails in -simulate mode due to test user is not logged in into T298892: script_tests.TestScriptSimulate.speedy_delete somtimes fails when the user is not logged in.
Wed, Apr 3, 8:25 AM · Pywikibot-tests, Pywikibot
Xqt closed T72652: {{speedydelete}} template at Page.delete should be localized as Declined.

This is a compat issue only.

Wed, Apr 3, 8:15 AM · Pywikibot
Xqt closed T72651: generic {{delete}} template in casechecker.py should be localized as Declined.

casechecker script was dropped.

Wed, Apr 3, 8:09 AM · Pywikibot, Pywikibot-Scripts
Xqt renamed T359766: pywikibot.handle_args() shouldn't be used within private scripts from pywikibot.handle_args() shouldn't be use d within private scripts to pywikibot.handle_args() shouldn't be used within private scripts.
Wed, Apr 3, 8:04 AM · Patch-For-Review, Pywikibot-Documentation, Pywikibot
Xqt closed T70659: imagetransfer fails badly if specified page does not begin with correct namespace as Resolved.
Wed, Apr 3, 7:58 AM · TestMe, Pywikibot-Commons, Pywikibot, Pywikibot-Scripts
Xqt added a comment to T70659: imagetransfer fails badly if specified page does not begin with correct namespace.

The first issue is solved:

Wed, Apr 3, 7:58 AM · TestMe, Pywikibot-Commons, Pywikibot, Pywikibot-Scripts
Xqt added a project to T70659: imagetransfer fails badly if specified page does not begin with correct namespace: TestMe.
Wed, Apr 3, 7:53 AM · TestMe, Pywikibot-Commons, Pywikibot, Pywikibot-Scripts
Xqt added a comment to T360837: Pywikibot UploadRobot should have a method to retrieve file name after change.

Having a UploadRobot dict attribute is to special for a framework; this might lead to unnecessary memory exhausting if you load a images from generator. I think a interface is an appropriate way to do this. Another way would be using the lower level method upload_file where you give the file_url and get the possible new filename back. The current implementation of imagetransfer uses this technique and the new implementation of post_processor is used there with that patch given above.

Wed, Apr 3, 7:44 AM · Patch-For-Review, Pywikibot
Xqt added a comment to T360837: Pywikibot UploadRobot should have a method to retrieve file name after change.

Having a UploadRobot dict attribute is to special for a framework; this might lead to unnecessary memory exhausting if you load a images from generator. I think a interface is an appropriate way to do this. Another way would be using the lower level method upload_file where you give the file_url and get the possible new filename back. The current implementation of imagetransfer uses this technique and the new implementation of post_processor is used there with that patch given above.

Wed, Apr 3, 7:44 AM · Patch-For-Review, Pywikibot

Tue, Apr 2

Xqt closed T361531: IsRedirectPageError.args does not match documentation as Resolved.
Tue, Apr 2, 5:30 PM · Patch-For-Review, Pywikibot-compat-to-core, Pywikibot-Documentation, Pywikibot
Xqt claimed T361531: IsRedirectPageError.args does not match documentation.
Tue, Apr 2, 11:49 AM · Patch-For-Review, Pywikibot-compat-to-core, Pywikibot-Documentation, Pywikibot
Xqt added a project to T361531: IsRedirectPageError.args does not match documentation: Pywikibot-compat-to-core.

The old compat release documented the behaviour as

Tue, Apr 2, 11:26 AM · Patch-For-Review, Pywikibot-compat-to-core, Pywikibot-Documentation, Pywikibot
Xqt added a comment to T360837: Pywikibot UploadRobot should have a method to retrieve file name after change.

Why not in such way:

Tue, Apr 2, 10:06 AM · Patch-For-Review, Pywikibot
Xqt added a project to T361531: IsRedirectPageError.args does not match documentation: Pywikibot-Documentation.
Tue, Apr 2, 5:44 AM · Patch-For-Review, Pywikibot-compat-to-core, Pywikibot-Documentation, Pywikibot

Mon, Apr 1

Xqt closed T334747: pywikibot.data.api.Request() import page error as Invalid.
Mon, Apr 1, 8:25 PM · Upstream, Pywikibot
Xqt added a comment to T360837: Pywikibot UploadRobot should have a method to retrieve file name after change.

@Ninovolador: I made a proposal. Can you please review that patch?

Mon, Apr 1, 4:16 PM · Patch-For-Review, Pywikibot
Xqt claimed T360837: Pywikibot UploadRobot should have a method to retrieve file name after change.
Mon, Apr 1, 3:39 PM · Patch-For-Review, Pywikibot
Xqt added a comment to T360837: Pywikibot UploadRobot should have a method to retrieve file name after change.

Both UploadRobot.process_filename() and UploadRobot.upload() already gives the filename back to the calling process (which is UploadRobot.run() by default. I've no glue for what the last_filename attribute is good for. Could you pleas explain a bit more.

Mon, Apr 1, 2:25 PM · Patch-For-Review, Pywikibot
Xqt added a comment to T359425: API:alllinks and API:alltransclusions query fails with RequestTimeout for several wikis.

Thank you @Ladsgroup for the patch. The original links given with this task works now but the requests still fails if alunique parameter is given like:
https://de.wikipedia.org/w/api.php?action=query&list=alllinks&alunique=&alfrom=B
resulting in

Mon, Apr 1, 12:45 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-Action-API, Wikimedia-production-error, Wikimedia-Slow-DB-Query, WME-API-Usability
Xqt closed T360093: Imageinfo are not fully set by pagegenerators as Resolved.
Mon, Apr 1, 11:39 AM · Patch-For-Review, Pywikibot

Sat, Mar 30

Xqt added a comment to T361407: Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline>.

See also: T251116

Sat, Mar 30, 7:54 PM · Patch-For-Review, SyntaxHighlight
Xqt added a comment to T360093: Imageinfo are not fully set by pagegenerators.

Thanks @Xqt for the fix!

Sidenote: …

You are right but the workaround was intended to be used wihout changing the framework.

Sat, Mar 30, 9:00 AM · Patch-For-Review, Pywikibot

Sun, Mar 24

Xqt claimed T360093: Imageinfo are not fully set by pagegenerators.
Sun, Mar 24, 1:12 PM · Patch-For-Review, Pywikibot
Xqt added a comment to T360093: Imageinfo are not fully set by pagegenerators.

As a workaraound you can call metadata first:

Sun, Mar 24, 12:52 PM · Patch-For-Review, Pywikibot
Xqt triaged T360093: Imageinfo are not fully set by pagegenerators as High priority.
Sun, Mar 24, 12:44 PM · Patch-For-Review, Pywikibot
Xqt updated subscribers of T360093: Imageinfo are not fully set by pagegenerators.
Sun, Mar 24, 12:30 PM · Patch-For-Review, Pywikibot
Xqt closed T360808: Pywikibot doesn't read/write the first title while working on a txt file as Invalid.

Cannot reproduce this. Having a text file with the following content:

Sun, Mar 24, 12:25 PM · Pywikibot

Wed, Mar 20

Xqt removed a parent task for T357866: Create Wikipedia Betawi: T360305: Add support for kuswiki to Pywikibot.
Wed, Mar 20, 1:46 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Wiki-Setup (Create)
Xqt added a parent task for T359757: Create Wikipedia Kusaal: T360305: Add support for kuswiki to Pywikibot.
Wed, Mar 20, 1:46 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Wiki-Setup (Create)
Xqt edited subtasks for T360305: Add support for kuswiki to Pywikibot, added: T359757: Create Wikipedia Kusaal; removed: T357866: Create Wikipedia Betawi.
Wed, Mar 20, 1:46 PM · Pywikibot
Xqt added a parent task for T357866: Create Wikipedia Betawi: T360305: Add support for kuswiki to Pywikibot.
Wed, Mar 20, 1:10 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Wiki-Setup (Create)
Xqt added a subtask for T360305: Add support for kuswiki to Pywikibot: T357866: Create Wikipedia Betawi.
Wed, Mar 20, 1:10 PM · Pywikibot
Xqt added a parent task for T357866: Create Wikipedia Betawi: T360312: Add support for bewwiki to Pywikibot.
Wed, Mar 20, 1:09 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Wiki-Setup (Create)
Xqt added a subtask for T360312: Add support for bewwiki to Pywikibot: T357866: Create Wikipedia Betawi.
Wed, Mar 20, 1:09 PM · Pywikibot

Mar 10 2024

Xqt updated the task description for T359766: pywikibot.handle_args() shouldn't be used within private scripts.
Mar 10 2024, 2:09 PM · Patch-For-Review, Pywikibot-Documentation, Pywikibot
Xqt renamed T359766: pywikibot.handle_args() shouldn't be used within private scripts from bot.handle_args() shouldn't be use d within private scripts to pywikibot.handle_args() shouldn't be use d within private scripts.
Mar 10 2024, 2:09 PM · Patch-For-Review, Pywikibot-Documentation, Pywikibot
Xqt triaged T359766: pywikibot.handle_args() shouldn't be used within private scripts as Low priority.
Mar 10 2024, 2:09 PM · Patch-For-Review, Pywikibot-Documentation, Pywikibot
Xqt created T359766: pywikibot.handle_args() shouldn't be used within private scripts.
Mar 10 2024, 2:08 PM · Patch-For-Review, Pywikibot-Documentation, Pywikibot

Mar 9 2024

Xqt added a comment to T359673: Update pywikibot to 9.0.0.

Dupe of T359616: New upstream release 9.0 for Pywikibot... you know the automation in LibUp for filing these tasks works again, right?

Mar 9 2024, 12:27 AM · PAWS

Mar 8 2024

Xqt renamed T129368: Usages of unittest.expectedFailure or unittest.skip should be solved (goal) from Usages of unittest.expectedFailure should be solved (goal) to Usages of unittest.expectedFailure or unittest.skip should be solved (goal).
Mar 8 2024, 12:32 PM · Pywikibot-tests, Pywikibot
Xqt created T359616: New upstream release 9.0 for Pywikibot.
Mar 8 2024, 10:33 AM · PAWS
Xqt closed T347020: Pywikibot 9 tasks (Tracking) as Resolved.
Mar 8 2024, 10:30 AM · Pywikibot
Xqt removed a parent task for T139143: Make a pywikibot entry point for scripts: T347020: Pywikibot 9 tasks (Tracking).
Mar 8 2024, 10:29 AM · Patch-For-Review, Pywikibot
Xqt removed a subtask for T347020: Pywikibot 9 tasks (Tracking): T139143: Make a pywikibot entry point for scripts.
Mar 8 2024, 10:29 AM · Pywikibot
Xqt added a project to T253591: page generators can truncate responses when there is excessive metadata (e.g. DjVu/PDF files): TestMe.

The patch was done with rPWBCaa683df and shipped with Pywikibot 8.6.
@Mpaa: Isn't this solved?

Mar 8 2024, 5:51 AM · TestMe, Pywikibot-Commons, Pywikibot

Mar 7 2024

Xqt added a parent task for T359513: Add lint tests for Python 3.10-3.13 to github action: T152961: Improve tests suite.
Mar 7 2024, 10:24 AM · Pywikibot-tests, Pywikibot
Xqt added a subtask for T152961: Improve tests suite: T359513: Add lint tests for Python 3.10-3.13 to github action.
Mar 7 2024, 10:24 AM · Pywikibot-tests, Pywikibot
Xqt triaged T359513: Add lint tests for Python 3.10-3.13 to github action as Low priority.
Mar 7 2024, 10:23 AM · Pywikibot-tests, Pywikibot
Xqt created T359513: Add lint tests for Python 3.10-3.13 to github action.
Mar 7 2024, 10:23 AM · Pywikibot-tests, Pywikibot
Xqt added a subtask for T152961: Improve tests suite: T359511: script_tests does not respect global -site parameter.
Mar 7 2024, 9:47 AM · Pywikibot-tests, Pywikibot
Xqt added a parent task for T359511: script_tests does not respect global -site parameter: T152961: Improve tests suite.
Mar 7 2024, 9:47 AM · Pywikibot-tests, Pywikibot
Xqt triaged T359511: script_tests does not respect global -site parameter as Medium priority.
Mar 7 2024, 9:46 AM · Pywikibot-tests, Pywikibot