User:Majoran~enwiki/monobook.js

//

/***** InstaView *****/

document.write(' ')

//InstaView.conf.user.name = 'User Name'

/* This is to keep track of who is using InstaView: User:Pilaf/instaview.js */

/***** Popup *****/

// User:Lupin/popups.js

mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');

popupDelay=1; popupFixDabs=true; popupDragHandle='popupTopLinks';

// initialize the array - only do this once extraPopupFilters=[];

function getmyinterwiki(wikiText,lan) { r = RegExp('\\[\\[((' + lan + '):([^&]+?))]]'); e = wikiText.match(r); if (!e) return ""; //class="extiw" a=''+e[1]+''; return a; }

// define the function function popupFilterMyInterWikis (wikiText) { return ' '+getmyinterwiki(wikiText,"de"); };

// add the function to the array (you can repeat this for lots of functions) extraPopupFilters.push(popupFilterMyInterWikis);

/***** WikiProject User scripts *****/

/* Takes the wikipage "page" and includes its raw text as javascript. */ function import_module(page){ if( document.createElement && document.childNodes ) { var url = 'http://en.wikipedia.org/w/index.php?title=' + escape(page) + '&action=raw&ctype=text/javascript&dontcountme=s'; var scriptElem = document.createElement('script'); scriptElem.setAttribute('src', url); scriptElem.setAttribute('type', 'text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); } }

//import_module('Wikipedia:WikiProject User scripts/Scripts/Add LI link'); //import_module('Wikipedia:WikiProject User scripts/Scripts/Add toolbox link'); //url=window.location.href; //Hack für 'Compare link' import_module('Wikipedia:WikiProject User scripts/Scripts/Compare link'); //import_module('Wikipedia:WikiProject User scripts/Scripts/Changes since I last edited');

//import_module('User:Tra/sidebartranslate.js');

/***** Test *****/

/* loadJS('User:Lupin/redlinks.js');

function loadJS(page){ page=page.replace(/^\[\[(.*)\]\]$/, '$1'); var lang='en'; if (page.match(/^(.*?):(.*:.*)/)) { lang=RegExp.$1; page=RegExp.$2; } document.write(' '); }



document.write(' ');

//intertrans_url="http://en.wikipedia.org/wiki/Wikipedia:Multilingual_coordination?action=raw"; intertrans_url="http://en.wikipedia.org/w/query.php?what=content&titles=Wikipedia:Sprachen&proxylang=de&format=php";

//