User:Idjit~enwiktionary/monobook.js

Hello, you have come here looking for the meaning of the word User:Idjit~enwiktionary/monobook.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Idjit~enwiktionary/monobook.js, but we will also tell you about its etymology, its characteristics and you will know how to say User:Idjit~enwiktionary/monobook.js in singular and plural. Everything you need to know about the word User:Idjit~enwiktionary/monobook.js you have here. The definition of the word User:Idjit~enwiktionary/monobook.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Idjit~enwiktionary/monobook.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
// Olliminatore/monobook.js
// used for auto signing script
var usersignature = '<span style=\"white-space:nowrap;\"> --\~\~\~ <small>\~\~\~\~\~<\/small><\/span>\n';

if(!wgIsArticle) // only if edit
  addOnloadHook( function() { 
  if(document.getElementById('toolbar'))
    mwEditButtons.tagOpen = usersignature;
})

/*Takes the wikipage "page" and includes it's raw text as javascript.*/ 
function importPage(page,lang){ // all languages support
 if(!lang)lang=wgContentLanguage;
 page='http://'+lang+'.wikipedia.orghttps://en.wiktionary.org/w/index.php?title=User:'+page
 +'&action=raw&ctype=text/javascript&smaxage=2678400&dontcountme=s';
 lang=document.createElement('script');
 lang.setAttribute('type','text/javascript');
 lang.setAttribute('src',page);
 document.getElementsByTagName('head').item(0).appendChild(lang);
};

//importPage('Ilmari_Karonen/fixdiffwidth.js') // ] 

if (document.URL.indexOf("&diff=",29)>0) addOnloadHook(function (){
// DIFF WIDTH FIX: v1.1 upd.: only if needed set max.width 
  var diffT = document.getElementById("bodyContent"),
  diffTable = diffT.getElementsByTagName("table");
  var diffT = diffTable.getElementsByTagName("tr").getElementsByTagName("td"),
  diffo = diffT, diffn = diffT,
  diffoWidth = diffo.clientWidth,
  diffnWidth = diffn.clientWidth;
  if (diffnWidth==diffoWidth) return;
  diffT = (diffnWidth + diffoWidth)/2;
  diffTable.setAttribute("width", ((diffoWidth < diffnWidth)? diffnWidth: diffoWidth) +diffT+12);
});
var XEBOrder = "C,D1,E,K,L,M,O,P,R,T,T1,N"; // Extra edit buttons
var rmEditButtons = ; // remove standard buttons

//importPage('MarkS/extraeditbuttons.js') // ]
importPage('MarkS/Extra edit buttons/dev.js') // ]

importPage('Olliminatore/godmode-light.js') // ]

importPage('Ilmari_Karonen/sigdash.js') // ] 

importPage('Cacycle/diff.js') // ] text diff code
importPage('Pilaf/livepreview.js') // ] page preview tool
importPage('Cacycle/wikEd.js') // ] rich text editor
importPage('Olliminatore/wikEd_international_de','de') // install a ] translation

importPage('Olliminatore/sign.js') // ] check & automate signing
 
importPage('Invitatious/unsigned2.js') // ]

//importPage('Zocky/SearchBox.js');  // ] /* extended search & replace feature  */

importPage('Lupin/popups.js') // ]

/* Syntax highlighter */
if(document.title.indexOf(".js") == -1)     //   Ignore pages that end in .js
 addOnloadHook(function () {
  /* CSS syntax highlighting */
    multicommentRE = new RegExp('(/\\**?\\*/)', 'g');
    ruleRE = new RegExp('(+)\\{(+)\\}', 'g');
    idselectorRE = new RegExp('(#+)\\b', 'g');
    classselectorRE = new RegExp('(\\.+)\\b', 'g');
    pairRE = new RegExp('(+):(+);', 'g');
    css = document.getElementsByTagName('pre');
    for (i = 0; i < css.length; i++) {
      c = css;
      content = c.innerHTML;
      content=content.replace(multicommentRE, '<span class="comment">$1</span>');
      content = content.replace(ruleRE, function(text, selector, body) {
        selector = selector.replace(idselectorRE, '<span class="idselector">$1</span>');
        selector = selector.replace(classselectorRE, '<span class="classselector">$1</span>');
        body = body.replace(pairRE, '<span class="property">$1</span>:<span class="value">$2</span>;');
        return selector + '{' + body + '}';
      });
      c.innerHTML = content;
    }
 });
else  /* Extreme Syntax highlighter (js)*/
 importPage('Olliminatore/shCore.js');  //