User:Manifestation/global.js

//syntax highlighter //mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript'); mw.loader.load('//www.mediawiki.org/w/index.php?title=User:Shirayuki/Syntax_highlighter.js&action=raw&ctype=text/javascript'); syntaxHighlighterConfig = { timeout: 1500, sourceTags: ["math", "syntaxhighlight", "source", "timeline", "hiero"], voidTags: ["br", "hr"] };

$(function {	setInterval(function{ var e = $('#wpTextbox1'); e.css({paddingLeft:'2px'}); e.prev('div').css({paddingLeft:'2px'}); },1000); });

// Add extra "Mark for translation" on translatable page, to re-mark quickly $(function {   if (mw.config.get('wgTranslatePageTranslation') === 'source') {        var page = mw.config.get('wgPageName');        var href = '/w/index.php?title=Special:PageTranslation&target='+encodeURIComponent(page)+'&do=mark#優先言語';        $('.mw-pt-translate-header').append(' ').append( $('').attr('href',href).text('【翻訳対象に指定】') );   } });