Page MenuHomePhabricator

Dimpizzy
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Dec 14 2022, 7:18 PM (80 w, 12 h)
Availability
Available
LDAP User
Unknown
MediaWiki User
Dimpizzy [ Global Accounts ]

Recent Activity

Jan 21 2023

Dimpizzy added a comment to T134618: Epic: Implement spreadsheet-like cell editing for tabular data.

I'd like to also request such a feature. An interface on a wiki page similar to Google Spreadsheets would be convenient for large datasets. There are some open source javascript spreadsheet libraries like SlickGrid that might be able to be adapted to Mediawiki.

Jan 21 2023, 4:35 PM · Epic, Commons-Datasets

Jan 3 2023

Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

This is solved for me. I'm not sure if there's actually any bug to fix, so if not it can be closed.

Jan 3 2023, 9:29 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

I've tested the generate-family-file script and indeed it added that method to the Family file. I think it is a better approach not to copy a family file example from mediawikiorg but either to use this script or use AutoFamily.

Jan 3 2023, 2:57 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.
Jan 3 2023, 2:53 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

If I use the above code in the family file, then response.request.body equals:

Jan 3 2023, 2:38 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

So Void over at Miraheze's Phabricator figured out that I needed to add this code to the family file, and now it logs in fine:

Jan 3 2023, 2:18 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

Is there a way to output and see the exact request sent to the server when it serves up HTML instead of JSON? This is what I spent a couple hours digging through the code for, to see if maybe the format=json was missing or something else was wrong, but I didn't have the skills to pinpoint where the request is made.

Jan 3 2023, 2:39 AM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot

Jan 2 2023

Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

@Xqt Ok, thanks, I'll create a bug report on Miraheze's phabricator then.

Jan 2 2023, 1:39 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot

Jan 1 2023

Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

@Dimpizzy: With the patch given above I've adjusted the error warning a bit. This is all I can do in this case if the server is temporary down. The request will be retried several times.

Jan 1 2023, 6:23 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a project to T326063: No warning is given if a user does not exists and the username is greater than the last known user: affects-Miraheze.
Jan 1 2023, 2:56 PM · Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

I played a bit with this issue; this bug occurres randomly. It looks like the server is temporarily not available. This also means that Pywikibot 8 does not solve it.

Jan 1 2023, 2:34 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

Just to satisfy my curiosity since I spent a while trying to find it, could you say what the issue was, if it's not super complex?

I have no idea at the moment but the LoginManager was rewritten and support of older wikis was given up.

Jan 1 2023, 1:34 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

Sure, Pywikibot 8 (master) is ready to use but it has "under development" state which means it could fail if new features are implemented whereas "stable" means it is ready for production systems. Anyway using master could help to find and fix those bugs which aren't detected yet during CI tests.

Jan 1 2023, 1:29 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

Just to satisfy my curiosity since I spent a while trying to find it, could you say what the issue was, if it's not super complex?

Jan 1 2023, 1:16 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

I was able to reproduce it. This issue is already solved with Pywikibot 8 which is the current master branch but still unser development. I could backport a relatedchange to stable version 7.7.4 or we can just wait for finishing Pywikibot 8 development (which will be in few weeks). You have to update your bot anyway. What would you prefer?

  1. use the current master branch
  2. wait for a stable release which solves this bug
Jan 1 2023, 1:07 PM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy added a comment to T326046: Cannot login to miraheze.org wiki due to no json response.

@Xqt: I just copied the example from the manual and changed it to suit my wiki.

Jan 1 2023, 11:48 AM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy updated the task description for T326046: Cannot login to miraheze.org wiki due to no json response.
Jan 1 2023, 12:33 AM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot
Dimpizzy created T326046: Cannot login to miraheze.org wiki due to no json response.
Jan 1 2023, 12:31 AM · Upstream, Pywikibot-login.py, affects-Miraheze, Pywikibot

Dec 14 2022

Dimpizzy added a comment to T274807: No CAPTCHA from ConfirmEdit served for users that use MobileFrontend.

My wiki experienced this bug yesterday on a Miraheze site. https://phabricator.miraheze.org/T10143

Dec 14 2022, 7:27 PM · MobileFrontend (Tracking), Editing-team, ConfirmEdit (CAPTCHA extension)