Discussioni MediaWiki:Common.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Riga 727:
:+1. Io anche l'ho visto. Questo rompe alcune altre funzioni. Rotto a Firefox, anche se a volte funziona a Chrome. --[[Utente:Amire80|Amir E. Aharoni]] ([[Discussioni utente:Amire80|msg]]) 14:17, 3 mag 2017 (CEST)
::Ho provato - a culo, diciamo pure - a fare più o meno come sopra con i mw.loader.using, ma la nostra pagina è diversa da quella giapponese. Mi pare che i problemi ora si presentino meno frequentemente di prima, e spero non ci siano effetti collaterali --[[Utente:Bultro|Bultro]] ([[Discussioni utente:Bultro|m]]) 00:58, 4 mag 2017 (CEST)
:(Forgive me for using English) {{ping|Bultro|Nemo bis}} "TypeError: mw.util is undefined TypeError: mw.util is undefined" still remains for me on Firefox. Would you please try something like this:
:*Line 9: mw.loader.using(['mediawiki.util', 'mediawiki.notify', 'mediawiki.legacy.wikibits']).done( function() { ( function ( mw, $ ) {
:*Line 229: }( mediaWiki, jQuery ) ); });
:Or maybe simply:
:*Line 9: mw.loader.using(['mediawiki.util', 'mediawiki.notify', 'mediawiki.legacy.wikibits']).done( function() {
:*Line 229: });
:Without this, the internal function will be executed before mw.loader.using is done, leaving the "undefined" error. --[[Utente:Whym|Whym]] ([[Discussioni utente:Whym|msg]]) 03:10, 7 mag 2017 (CEST)
Ritorna alla pagina "Common.js".