Jump to content

Wikipedia talk:Unblock wizard

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Suggestion for improvement to unblock wizard

[edit]

It would be helpful to pre-fetch block details. Also a "demo" mode should be added for testing that generates the appropriate text and logs it (but does not save it). Aasim (話すはなす) 18:54, 21 June 2025 (UTC)[reply]

Great ideas! For the first case, we've been working on this branch which does exactly that, by looking at the block template on the user page. The demo mode could also be a pretty neat addition, thanks! Chaotic Enby (talk · contribs) 20:40, 21 June 2025 (UTC)[reply]
Update: working on a new branch for the demo mode! Chaotic Enby (talk · contribs) 21:13, 21 June 2025 (UTC)[reply]
I submitted a commit and opened a merge request. Please feel free to make further changes, etc. Aasim (話すはなす) 23:59, 21 June 2025 (UTC)[reply]
Amazing! Just left a comment there! Chaotic Enby (talk · contribs) 00:23, 22 June 2025 (UTC)[reply]
Please let me know if all the changes I made look good. If they do then they can be merged after further testing. Aasim (話すはなす) 15:20, 22 June 2025 (UTC)[reply]
It looks like some license washing is (hopefully inadvertently) occurring here. All of our onwiki text must be available under CCBYSA4 and GFDL, but in copying this back and forth to a third party, with derivative works occurring off-wiki (apparently only under MIT) - a licensing mess seems to be growing. The quick fix is ensure that the CCBYSA40 and GFDL are maintained throughout. — xaosflux Talk 20:51, 24 June 2025 (UTC)[reply]
Oh, that's weird. I took the license from MediaWiki:AFC-submit-wizard.js as I originally forked the code from it. Would a dual license be possible? Looking at the AfC wizard's own GitHub, it is also under MIT alone, although I wonder if by publishing it here they are implicitly also released under CC-BY-SA 4.0? Pinging @SD0001 and @Novem Linguae as they've worked on the AfC wizard and might have encountered the same licensing issue. Chaotic Enby (talk · contribs) 21:01, 24 June 2025 (UTC)[reply]
Everything published on enwiki must be under CCBYSA and GFDL. It is agreed to every time publish is pushed. — xaosflux Talk 21:30, 24 June 2025 (UTC)[reply]
@Xaosflux: The MIT License is more permissive than, and compatible with, both CCBYSA4.0 and the GFDL. However, we (specifically meaning the author of the code, @Chaotic Enby) will make it clear on the GitHub repository that the code is all dual licensed with both licenses as well, for the avoidance of doubt. Thanks for raising it! KevinL (aka L235 · t · c) 16:19, 25 June 2025 (UTC)[reply]
Thanks, don't want to go down the licensing rabbit hole, but it certainly can become a mess due to the nature of the combination of licenses. — xaosflux Talk 16:30, 25 June 2025 (UTC)[reply]

Broken image

[edit]

When this fails with "You are not currently blocked.", that line starts with an image that does not display. — xaosflux Talk 14:06, 24 June 2025 (UTC)[reply]

The image does work for me, both online and offline (I've tested Vector 10 and Vector 22). Not sure what might be causing this, which configuration were you on? Chaotic Enby (talk · contribs) 19:35, 24 June 2025 (UTC)[reply]

Page Source:

<img src="/media/wikipedia/commons/4/4b/OOjs_UI_icon_information-yellow.svg/40px-OOjs_UI_icon_information-yellow.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="/media/wikipedia/commons/thumb/4/4b/OOjs_UI_icon_information-yellow.svg/60px-OOjs_UI_icon_information-yellow.svg.png 1.5x">

Error: File not found: /v1/AUTH_mw/wikipedia-commons-local-public.4b/4/4b/OOjs_UI_icon_information-yellow.svg/40px-OOjs_UI_icon_information-yellow.svg.png

Using a desktop browser. — xaosflux Talk 20:37, 24 June 2025 (UTC)[reply]

Oh, that's weird, the icon that shows up on my side is /media/wikipedia/commons/thumb/4/4b/OOjs_UI_icon_information-yellow.svg/60px-OOjs_UI_icon_information-yellow.svg.png
The 40px one does seem to be non-existent, and I'm wondering if it could be fixed by only using the 60px version in the code. Aasim is working on a branch which would only use the native OOUI functionalities to display the icons (rather than having to load the images ourselves), which could be a better fix. Chaotic Enby (talk · contribs) 21:04, 24 June 2025 (UTC)[reply]
That commit should be ready to merge, but I would review my changes to make sure that everything is still working as expected. Aasim (話すはなす) 19:55, 25 June 2025 (UTC)[reply]