Differenze tra le versioni di "Utente:Barbaforcuta/vector.js"

nessun oggetto della modifica
if (mw.config.get("wgCanonicalNamespace")=="Template" | mw.config.get("wgNamespaceNumber")=="828" && (mw.config.get("wgAction")=="edit" || mw.config.get("wgAction")=="submit") ) {
$("fieldset#templatesandbox-editform,fieldset.mw-scribunto-console-fieldset").appendTo("#wikiEditor-ui-toolbar").css("margin-top","0").css("margin-bottom","0").css("background","ghostwhite").css("display","none");
$(window).one('mousemove',function() {
$("#wikiEditor-ui-toolbar").append($('<li id="t-rem" style="position:absolute; right:5px; display:none; list-style:none; margin-top:3px;"><a title="Nascondi templatesandbox"><img src="https://upload.wikimedia.org/wikipedia/commons/9/95/UpGold.gif" /></a></li>'));
$("#wikiEditor-ui-toolbar").append($('<li id="t-rem1" style="position:absolute; right:5px; display:block;"><a title="Mostra templatesandbox"><img src="https://upload.wikimedia.org/wikipedia/commons/b/b5/DownGold.png"/></a></li>'));
$("fieldset.mw-scribunto-console-fieldset div input,input#wpTemplateSandboxPreview").addClass("button2").css("padding","5px 7px 4px 7px").css("font-size","95%");
$("input#wpTemplateSandboxPreview").val("Prova");
});
$("*").mousemove (function (){
$("#mw-content-text > div.tdg-editscreen-main > span").insertAfter("#wikiEditor-ui-toolbar > div.tabs").attr("style","vertical-align:text-bottom");
26 047

contributi