Difference between revisions of "Doom Wiki talk:Gadget"

From DoomWiki.org

(Lightbox Gadget)
(Lightbox Gadget)
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
==Lightbox Gadget==
 
==Lightbox Gadget==
 
I have coded up a gadget that replaces the default behavior of the "Enlarge" button (which you may note is now visible in Monaco - I wasn't including the proper styles for it previously even though it was there in the markup already) with a modal lightbox. I am going to be testing this; note that it will be, like all gadgets, strictly optional, as they can be turned off in user preferences. This also has a real advantage over the php-based extension that WikiMedia developers have forced onto all the WM wikis - it does ''not'' change the behavior of clicking on an image, which is what really annoys most people about that extension. Feel free to discuss here. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 01:59, 11 November 2018 (CST)
 
I have coded up a gadget that replaces the default behavior of the "Enlarge" button (which you may note is now visible in Monaco - I wasn't including the proper styles for it previously even though it was there in the markup already) with a modal lightbox. I am going to be testing this; note that it will be, like all gadgets, strictly optional, as they can be turned off in user preferences. This also has a real advantage over the php-based extension that WikiMedia developers have forced onto all the WM wikis - it does ''not'' change the behavior of clicking on an image, which is what really annoys most people about that extension. Feel free to discuss here. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 01:59, 11 November 2018 (CST)
 +
 +
: I like it, I like that you are not overriding clicking on image links (I agree with you). When the image caption has a wikilink in it, the wikilink is a little hard to read on-black in the lightbox. Not sure how that could be improved though. -- [[User:Shambler|Shambler]] ([[User talk:Shambler|talk]]) 06:10, 13 November 2018 (CST)
 +
 +
:: I brightened the hyperlinks a bit last night, you might need to do a full reload (shift+reload in Firefox, at least) to purge the CSS in your browser cache in order to see the change. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 07:07, 13 November 2018 (CST)
 +
 +
: Would it be possible to make pressing Esc close the modal? --[[User:Xymph|Xymph]] ([[User talk:Xymph|talk]]) 07:19, 13 November 2018 (CST)
 +
 +
:: Yep, done. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 09:49, 13 November 2018 (CST)

Revision as of 10:49, 13 November 2018

Monaco Widgets

I was really supposed to post this here first and let everybody fight over it, but I needed to test my new Monaco Widgets 2.0 framework which is part of the backend. The new Recent Changes widget is on by default for Monaco users; you can disable it from Special:Preferences as with all other gadgets. There's probably room for improvement and I'm open to suggestions. One known bug is that users without existing talk pages still get a blue link; unfortunately there's no way to test in the MediaWiki frontend for whether or not a page exists - if this bothers users too much, the only real solution is to not link to the user pages at all. --Quasar (talk) 21:07, 9 August 2014 (UTC)

Lightbox Gadget

I have coded up a gadget that replaces the default behavior of the "Enlarge" button (which you may note is now visible in Monaco - I wasn't including the proper styles for it previously even though it was there in the markup already) with a modal lightbox. I am going to be testing this; note that it will be, like all gadgets, strictly optional, as they can be turned off in user preferences. This also has a real advantage over the php-based extension that WikiMedia developers have forced onto all the WM wikis - it does not change the behavior of clicking on an image, which is what really annoys most people about that extension. Feel free to discuss here. --Quasar (talk) 01:59, 11 November 2018 (CST)

I like it, I like that you are not overriding clicking on image links (I agree with you). When the image caption has a wikilink in it, the wikilink is a little hard to read on-black in the lightbox. Not sure how that could be improved though. -- Shambler (talk) 06:10, 13 November 2018 (CST)
I brightened the hyperlinks a bit last night, you might need to do a full reload (shift+reload in Firefox, at least) to purge the CSS in your browser cache in order to see the change. --Quasar (talk) 07:07, 13 November 2018 (CST)
Would it be possible to make pressing Esc close the modal? --Xymph (talk) 07:19, 13 November 2018 (CST)
Yep, done. --Quasar (talk) 09:49, 13 November 2018 (CST)