MediaWiki:Gadget-PreloadTemplates.js: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
debug
m (correction of french syntax) |
(debug) |
||
Line 20: | Line 20: | ||
mw.config.get('wgNamespaceNumber') == 8 // MediaWiki: | mw.config.get('wgNamespaceNumber') == 8 // MediaWiki: | ||
) { | ) { | ||
console.log('[PreloadTemplates]: container not found or page is not supported.'); | |||
return; | return; | ||
} | } | ||
console.log('[PreloadTemplates]: version 1.01 - 17/05/2017.'); | |||
// ================= | // ================= |