MediaWiki talk:Common.js/Archive 21: Difference between revisions

Content deleted Content added
Archiving 2 discussion(s) from MediaWiki talk:Common.js) (bot
 
m Archiving 2 discussion(s) from MediaWiki talk:Common.js) (bot
Line 23:
:::: {{re|Edokter|Helder.wiki}} <code>importScript</code> is definitely always asynchronous and has no callback, so it is definitely a bad choice here. The situation with <code>$.getScript</code>'s callback is rather complicated at a glance and I really don't feel like digging through hundreds of lines of code right now to find out what exactly happens (Krinkle knows jQuery internals better than I do), but it is also definitely better here than <code>importScript</code> since it has at least some chance of firing only after the script was executed :)
:::: The proper way to solve this, of course, would be to convert these scripts to default-enabled gadgets which will let you sanely specify dependencies between them and other modules. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 19:03, 3 March 2014 (UTC)
 
== Protected edit request on 15 March 2014 ==
 
{{edit protected|MediaWiki:Common.js/watchlist.js|answered=yes}}
Could someone apply [[Special:Diff/580710721/599719453|these changes]] to [[MediaWiki:Common.js/watchlist.js]] to stop the warnings on [[Special:Watchlist]]:<blockquote class="error">Use of "$j" is deprecated. Use $ or jQuery instead. </blockquote>
[[User:Helder.wiki|Helder.wiki]] 13:28, 15 March 2014 (UTC)
:Done. <span style="font-family:'Trebuchet MS'"> — [[User:Edokter|<span style="color:#008"><i>E</i>dokter</span>]] ([[User talk:Edokter|<span style="color:#080">talk</span>]]) — </span> 14:40, 15 March 2014 (UTC)
 
== CodeEditor Feedback desired ==
 
Please read and give your input [[Wikipedia:Village_pump_(technical)#CodeEditor_Feedback_desired|about what you are looking for in the CodeEditor toolbar]] —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 00:14, 26 March 2014 (UTC)