MediaWiki talk:Gadget-ImageStack.js

Latest comment: 19 days ago by Lucas Werkmeister in topic Switch scroll direction


Improvements to ImageStack edit

{{Edit request}}

Our friend User:Bawolff has made improvements to the ImageStack gadget. Please deploy as of this revision on MDwiki. This adds a slider widget that makes the imagestack template usable on mobile. Once this is done you can update Template:Imagestack from this revision on MDwiki. Harej (talk) 03:26, 1 April 2024 (UTC)Reply

@Harej: If I understand correctly, this would effectively revert Special:Diff/863646220 (cc @MusikAnimal); do you know if that’s okay (e.g. if the other changes on MDwiki make it no longer needed)? (I haven’t looked much into it yet.) Lucas Werkmeister (talk) 21:18, 2 April 2024 (UTC)Reply
The suggested update selects .ImageStackUnits figure.mw-halign-center so it would work with the current HTML. I've no idea what the other changes do but if the gadget + template combination works fine on MDwiki, it probably will here too. ImageStack was broken here on Commons for nearly a year, so I'm sure a little experimentation with this new version won't cause too much of an uproar :) MusikAnimal talk 00:10, 3 April 2024 (UTC)Reply
Heh, fair enough ^^   Done --Lucas Werkmeister (talk) 20:18, 3 April 2024 (UTC)Reply
Seems to work at Category:Pansinusitis Case 001, at least. (CW: somewhat gnarly medical imagery) Lucas Werkmeister (talk) 20:19, 3 April 2024 (UTC)Reply
Just FYI - the other changes are: add a slider, slow down the speed when using a mouse scroll wheel, make decoding sync to reduce flickering on initial scroll through. Bawolff (talk) 21:26, 3 April 2024 (UTC)Reply
Thank you for your contributions to it! --Hellerhoff (talk) 15:13, 4 April 2024 (UTC)Reply

Switch scroll direction edit

User:Lucas Werkmeister Wondering if you can switch the scroll direction by doing this[1]. This will make it similar to the machines at work.

Doc James (talk · contribs · email) 00:30, 15 May 2024 (UTC)Reply

  Done, but please use {{Edit request}} next time – I’m not the only interface admin around, and sometimes I’m busy :) --Lucas Werkmeister (talk) 15:39, 18 May 2024 (UTC)Reply
Return to "Gadget-ImageStack.js" page.