MediaWiki talk:Gadgets-definition

Latest comment: 4 years ago by Pi zero in topic Broken

fundraiser edit

The hide fundraiser gadget can be re-added with:

* HideFundraisingNotice|HideFundraisingNotice.css

Bawolff 05:22, 1 February 2009 (UTC)Reply

Subpages edit

Is it possible to see all the sub-pages of one please? If not I just suggest to import fr:MediaWiki:Gadget-SousPages.js (this translation works here). JackPotte (talk) 04:19, 30 November 2010 (UTC)Reply

Requesting to add a gadget edit

@Pi zero: Do you know how can I add a gadget here? The gadget is ready, I just need someone to add it.
•–• 11:56, 1 August 2018 (UTC)Reply

@Acagastya: An admin can do it. What's your' gadget? --Pi zero (talk) 11:58, 1 August 2018 (UTC)Reply
adds two square brackets and makes the inside text in bold if the {{w}} can be converted into hardlinks (I find it more effective that green underlining programme) and for external links, it adds a grey background.
•–• 12:02, 1 August 2018 (UTC)Reply
Link to it? Gryllida (talk) 22:40, 1 August 2018 (UTC)Reply

Broken edit

{{edit protected}} @Pi zero: can you apply ResourceLoader syntax to fix the gadgets? See, eg, how I fixed them on wikiversity - https://en.wikiversity.org/w/index.php?title=MediaWiki%3AGadgets-definition&type=revision&diff=2080809&oldid=1888711 Thanks, --DannyS712 (talk) 04:40, 23 October 2019 (UTC)Reply

@DannyS712: It looks, from the revision history of the page, as if resourceloader was being systematically added to certain gadgets and not others. There's even one it was removed from. I'm hoping to remember what that was about. What do you know about the history of resourceloader? Do gadgets not run at all without that... and if not, why would we deliberately not have it on some of them? --Pi zero (talk) 12:30, 23 October 2019 (UTC)Reply
I'm not sure, but @Krinkle: would be able to tell you (as an a global interface editor, can make the needed edits) --DannyS712 (talk) 16:42, 23 October 2019 (UTC)Reply

Hi, I don't see broken gadgets here. However, there are some gadgets here that have been disabled since 2017. I guess you're asking for these to be re-enabled. I don't feel comfortable doing that as I'm not familiar with the JavaScript I would be deploying to users of this wiki. I would expect a local gadget developer (either sysop or interface admin) to look at individual gadgets's code and based on what users of the wiki are interested in, upgrade them as needed and then enable them. I would advise against enabling them all at once. --Krinkle (talk) 17:41, 23 October 2019 (UTC)Reply

@DannyS712: Off hand, I remember there was a wiktionary-related gadget that didn't work and looked unlikely to be fixable. Probably the hover thing. That may be typical of gadgets that don't have the ResourceLoader thing. Did you have specific gadgets in mind? --Pi zero (talk) 01:56, 24 October 2019 (UTC)Reply
@Pi zero: well, at Special:Gadgets, you can see which ones aren't working. edittop was the initial motivation. --DannyS712 (talk) 01:59, 24 October 2019 (UTC)Reply
@DannyS712: Re MediaWiki:Gadget-edittop.js. Appears to have been copied here in 2008 by Cirt from meta. That sort of thing has been controversial on en.wn since (afaik) sometime before I arrived, over the license discrepancy. Some fixes were applied in 2015. But meanwhile, the version at meta was modified in 2013 to simply load the en.wp version. And the en.wp version is very different by now. I have no clue whether the gadget would even work, at this point, let alone what bugs there might be in it. Possible actions at this point:
  • Leave it disabled.
  • Try enabling it, and see if it works.
  • Set it up to load from a version somewhere else, as the meta version now does. And then trying enabling it, and see if it works.
I'm not even going to list the option of copying from some other project, because I generally prefer to simply not open that can of worms. --Pi zero (talk) 02:48, 24 October 2019 (UTC)Reply
Return to "Gadgets-definition" page.