MediaWiki talk:Gadget-UserMessages.js

Latest comment: 7 years ago by Pi zero

Added that in Preferences, but don't see any new GUI, no links or alerts or anything. How do I use this gadget? Gryllida 23:39, 31 May 2011 (UTC)Reply

It needs to be moved to ResourceLoader. I'd do that myself but I have no rights. Jkmartindale (talk) 09:42, 21 November 2016 (UTC)Reply
@Jkmartindale: Do you mean simply that it needs to have the ResourceLoader property listed in gadgets definitions, or is something more required? (I admit I'm very cynical about RL; but if it's the game that must be played, so be it.) --Pi zero (talk) 11:36, 21 November 2016 (UTC)Reply
@Pi zero: You called my bluff, I actually don't know (all I know about ResourceLoader I learned today while trying to take my favorite gadgets from Wikimedia sites into my global.js file). The reason I think you need to use ResourceLoader is because Special:Gadgets is whining about it. James Martindale (talk) 11:40, 21 November 2016 (UTC)Reply
@Jkmartindale: A while ago we were told no gadget would be loaded unless it uses RL. I was told by a guru, though, that in practice all one usually had to do was to tell the gadgets extension the gadget uses RL. I note, though, that most of the javascript automation on en.wn now practically never loads on the first try; reloading a page once or twice is needed to get it all to work, which is why most gadgets now have a try block around them, which I'd tried in the apparently vain hope that it would containerize the failure of some gadgets so they wouldn't wreck others. I gather this is all thanks to the "improvements" being made to the platform. So I figure mostly what we need here is to eliminate our old js until there's nothing left of it — mostly I'd hope to migrate things to use wikidialog, which I've designed to be as robust as I could make it against changes to the platform (though there are always limits to what I can do; at some point I find I just have to hope WMF architectural decisions won't exceed some threshold of ill-conceivedness, which really isn't a sound assumption). --Pi zero (talk) 12:02, 21 November 2016 (UTC)Reply
Return to "Gadget-UserMessages.js" page.