Difference between revisions 237112 and 237211 on ptwikibooks/*global $, mw, console, document, window */ /*jslint devel: true, browser: true, white: true, regexp: true */ mw.log('O seu common.js global foi iniciado.'); mw.loader.using('mediawiki.util',function(){ "use strict"; var enableMyScripts = $.cookie( 'enable-my-scripts' ) !== 'false', enableLocalScripts, (contracted; show full) //'desc': 'Converte a sintaxe [[zz]] para links de verdade nas páginas de scripts e folhas de estilos', 'autorun': $.inArray(mw.config.get('wgNamespaceNumber'), [2, 8]) !== -1 && mw.config.get('wgPageName').match(/\.(js|css)$/) && $.inArray(mw.config.get('wgAction'), ['view', 'purge']) !== -1, 'script': 'User:Helder.wiki/Tools/LinksOnJSPages.js' }, { //'title': 'Projetos correlatos (ícones)', //'id': 'js-inter-project-icons', //'desc': 'Inclui ícones no título da página com ligações para os projetos correlatos', 'autorun': $.inArray(mw.config.get('wgNamespaceNumber'), [-1, 2, 3, 8, 9]) !== -1, 'script': 'User:Helder.wiki/Tools/InterProjectIcons.js' }, {⏎ //'title': 'Projetos correlatos', //'id': 'js-inter-project', //'desc': 'Inclui na barra lateral ligações para os projetos correlatos', 'autorun': !isPtWb, 'script': 'User:Helder.wiki/Tools/InterProjectLinks.js' }, { //'title': 'Limpar caixa de areia', (contracted; show full) mw.loader.load( 'http://localhost/mw/index.php?title=User:' + mw.config.get( 'wgUserName' ) + '/common.js&action=raw&ctype=text/javascript' ); } }); // using mediawiki.util All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://pt.wikibooks.org/w/index.php?diff=prev&oldid=237211.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|