Discussioni MediaWiki:Gadget-LiveRC 1x.js/InserisciTemplate.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
DaimonBot (discussione | contributi)
Riga 198:
 
As you can see, this way, two ajax requests will be saved, so it will be far better for LiveRC launching.
I already [//fr.wikipedia.org/w/index.php?title=MediaWiki:Gadget-LiveRC.js&diff=107189645&oldid=107189107 set the <ttkbd><nowiki>LiveRC_Config["InstalledLiveRCExtensions"]</nowiki></ttkbd> global variable], to prevent errors due to adding an item in a non-existent Array. Now, I need that all extensions add an item with their name to this Array.
 
So I need that you edit [[MediaWiki:Gadget-LiveRC_1x.js/InserisciTemplate.js]] to add the code below just after the '''<code>if (typeof(lrcHooks)!="undefined")</code>''' test :
Riga 222:
 
Could you replace all occurrences of :
* <ttkbd>'''getElementsByClass'''</ttkbd> by <ttkbd>'''lrcGetElementsByClass'''</ttkbd> (2 times)
* <ttkbd>'''hasClass'''</ttkbd> by <ttkbd>'''lrcHasClass'''</ttkbd> (1 time)
 
Thank you.
Ritorna alla pagina "Gadget-LiveRC 1x.js/InserisciTemplate.js".