User:Tekstman/common.js

if ( mw.config.get( 'wgCanonicalNamespace' ) === 'File' ) {  var page = 'User:Superm401/CommonsHelper Labs.js';

var url = '//commons.wikimedia.org/w' + '/index.php?title=' + encodeURIComponent( page.replace( / /g, '_' ) ) + '&action=raw&ctype=text/javascript'; mw.loader.load( url ); }