Doom Wiki talk:Gadget


Monaco Widgets[edit]

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[edit]

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)
This is still in the header at #doomwiki, so I loaded it up.  I really like it — the emphasis against the article is high, but you can still see where you came from, even scroll it.  As others have said, it's also vital that the existing link remains (some users are in fact seeking the metadata or description text).  I've seen large commercial sites half-ass this, but we have it right.  Caveat: my browsers are friggin old and I use 99.9% Monobook.  HTH, Ryan W (living fossil) 05:28, 12 March 2019 (CDT)