_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

Gebruiker:Tom Meijer/monobook.js

In dit artikel zullen we het onderwerp Gebruiker:Tom Meijer/monobook.js diepgaand onderzoeken, waarbij we de vele facetten, impact en relevantie ervan in de huidige samenleving bespreken. Vanaf de oorsprong tot de evolutie ervan in de loop van de tijd zullen we ons verdiepen in de uitputtende analyse van Gebruiker:Tom Meijer/monobook.js, waarbij we historische, culturele, sociale en economische aspecten ontrafelen die hebben bijgedragen aan het vormgeven van de betekenis en reikwijdte ervan vandaag de dag. Door middel van onderzoek, studies en meningen van experts in het veld zullen we proberen licht te werpen op de meest pertinente vragen met betrekking tot Gebruiker:Tom Meijer/monobook.js, om zo een alomvattende visie te bieden die de kennis en het begrip van dit onderwerp van onbetwistbare relevantie verrijkt.
//Gecopieerd van 'WebBoy':

//<nowiki> Geen -- voor de handtekening, als je op de handtekeningknop drukt.

(function () {
    var oldAddButton = addButton;
    if (typeof(oldAddButton) != 'function') return;
    addButton = function () {
        if (arguments.length > 2)
            arguments = arguments.replace(/^--(~+)$/, '$1');
        oldAddButton.apply(this, arguments);
    };
})();

//</nowiki>


// qPreview ]
var qPreviewKey = '`';
var qPreviewName = 'QPreview';

function qPreviewButton(){ 
	addToolbarButton(qPreviewName, qPreview, 'btnQPreview', 'Quick Preview', qPreviewKey);
}
$(qPreviewButton);

function qPreview(){
 var divPreview = document.getElementById('wikiPreview');
 if (!divPreview) return;
 var btnQPreview = document.getElementById('btnQPreview');
 if (btnQPreview) btnQPreview.value = 'Wait...';
 a = sajax_init_object();
 a.open('POST', document.editform.action+'&live', true);
 var Boundary = '--------p1415';
 a.setRequestHeader('Content-Type', 'multipart/form-data; boundary='+Boundary);
 var PostData = '--' + Boundary 
  + '\nContent-Disposition: form-data; name="wpTextbox1"\n\n'
  + document.getElementById('wpTextbox1').value + '\n--'+Boundary;
 if (a.overrideMimeType) a.overrideMimeType('text/html');
 a.send(PostData);
 a.onreadystatechange = function(){
  if (a.readyState != 4) return;
	var html = a.responseText;
	html = html.replace(/&gt;/g,'>').replace(/&lt;/g,'<').replace(/&quot;/g,'"').replace(/&amp;/g,'&').replace(/&apos;/g,"'");
	divPreview.innerHTML = html;
	if (btnQPreview)  btnQPreview.value =  qPreviewName;
 };
}

//Adds a text button to edit toolbar
function addToolbarButton(name, onclick, id, tooltip, accesskey){
	var toolbar = document.getElementById('toolbar');
	if (!toolbar) return;
	var newBtn = document.createElement('input');
	newBtn.type = 'button'; 
	newBtn.style.background = '#adbede';
	newBtn.style.height = '22px'; 
	newBtn.style.verticalAlign = 'middle';
	if (name) newBtn.value = name; 
	if (onclick) newBtn.onclick = onclick;
	if (id) newBtn.id = id;
	if (tooltip) newBtn.title = tooltip; 
	if (accesskey) newBtn.accessKey = accesskey; 
	toolbar.appendChild(newBtn);
	return newBtn;
}

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

popupDelay=1;
popupImages=false;
imagePopupsForImages=false;
popupFixDabs=true;
popupLiveOptions=true;
popupFixRedirsSummary=("linkfix");
popupRevertSummary=("wijziging teruggedraaid");
popupSummaryData=false;


//Voeg extra links toe aan het menu links m.b.v. de functie addLink
 function addLink(where, url, name, id, title, key, after) {
     // addLink() accepts either an id or a DOM node, mw.util.addPortletLink() only takes a node
     if (after && !after.cloneNode)
         after = document.getElementById(after);
 
     return mw.util.addPortletLink(where, url, name, id, title, key, after);
 }

$( function(){
addLink("p-navigation", "http://nl.wikipedia.orghttps://wiki386.com/nl/Speciaal:Specialpages", "Speciale pagina's", "n-specialpages", "Speciale pagina's", 0);
addLink("p-tb", "http://nl.wikipedia.orghttps://wiki386.com/nl/Speciaal:Prefixindex/", "Pagina's beginnend met", "n-prefixindex", "Pagina's beginnend met", 0);
addLink("p-tb", "irc://irc.freenode.net/wikipedia-nl", "IRC", "n-IRC", "IRC", 0);
addLink("p-navigation", "http://nl.wikipedia.orghttps://wiki386.com/nl/Categorie:Wikipedia:Nuweg", "Categorie:Nuweg", "n-nuweg", "Categorie:Nuweg", 0);
});

// ] - please include this line 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// Andere hoofdpagina

var mpTitle = "Hoofdpagina";
var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == mpTitle)
if (isMainPage) 
{window.location="http://nl.wikipedia.orghttps://wiki386.com/nl/Wikipedia:Hoofdpagina (oud)";}

// Extra knopjes in de toolbar
// Gebaseerd op ]. Maintainers: ]?, ], ]

 if (mwCustomEditButtons) { 
   mwCustomEditButtons = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/c4/Button_ref.png",
     "speedTip": "Referentie",
     "tagOpen": '<ref>',
     "tagClose": "</ref>",
     "sampleText": "Plaats hier de gewenste referentie"};

   mwCustomEditButtons = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/64/Buttonrefvs8.png",
     "speedTip": "Bronvermelding",
     "tagOpen": '==Bronnen, noten en/of referenties==\n<references />',
     "tagClose": "",
     "sampleText": ""};
 }


//<pre><nowiki>
//** Speciaal:Zoeken met zoekmenuutje *******************************************************
//*
//*  Description: Change Special:Search to use a drop-down menu, with the default being
//*               the internal MediaWiki engine
//*  Created and maintained by: ]. Gejat van ]
 
if (wgCanonicalSpecialPageName == "Search") {
         var searchEngines = ;
         addOnloadHook(SpecialSearchEnhanced);
 }
 
function SpecialSearchEnhanced() {
         var createOption = function(site, action, mainQ, addQ, addV) {
                 var opt = document.createElement('option');
                 opt.appendChild(document.createTextNode(site));
                 searchEngines = ;
                 return opt;
         }
         var searchForm = document.forms;
         var selectBox = document.createElement('select');
         selectBox.id = 'searchEngine';
         searchForm.onsubmit = function() {
                 var optSelected = searchEngines;
                 searchForm.action = optSelected;
                 searchForm.lsearchbox.name = optSelected;
                 searchForm.title.value = optSelected;
                 searchForm.title.name = optSelected;
         }
         selectBox.appendChild(createOption('MediaWiki search', wgScriptPath + '/index.php', 'search', 'title', 'Special:Search'));
         selectBox.appendChild(createOption('Google', 'http://www.google.com/search', 'q', 'sitesearch', 'en.wikipedia.org'));
         selectBox.appendChild(createOption('Yahoo', 'http://search.yahoo.com/search', 'p', 'vs', 'en.wikipedia.org'));
         selectBox.appendChild(createOption('Windows Live', 'http://search.live.com/results.aspx', 'q', 'q1', 'site:http://en.wikipedia.org'));
         selectBox.appendChild(createOption('Wikiwix', 'http://www.wikiwix.com/', 'action', 'lang', 'en'));
         selectBox.appendChild(createOption('Ilse', 'http://wikipedia.ilse.nl/searchresults.jspx', 'q', 'q1'));
         searchForm.lsearchbox.style.marginLeft = '0px';
         var lStat = document.getElementById('loadStatus');
         lStat.parentNode.insertBefore(selectBox, lStat);
 }
// === Verplaats "bewerken"-links op alle pagina's ===


/* van Gebruiker:NielsF/monobook.js: */
 // BEGIN Mooving of the editsection links
 /*
 * moveEditsection
 * Dieses Script verschiebt die Editsection-Buttons von rechts oberhalb
 * der Überschriften in die Überschriften.
 * Positiv getestet unter: Firefox 1.0, Opera 8.0, Internet Explorer 6.0
 * Anmerkungen, Verbesserungen, Hinweise, Nörgeleien jederzeit gerne gesehen!
 *
 * Zum Abschalten die folgende Zeile (ohne führendes Sternchen) in die eigene
 * monobook.js (zu finden unter ]) kopieren:
 * var oldEditsectionLinks = true;
 *
 * dbenzhuser (de:Benutzer:Dbenzhuser)
 */
 function moveEditsection_OUD() {
     if (typeof oldEditsectionLinks == 'undefined' || oldEditsectionLinks == false) { 
         // Sammelt alle div-Elemente der Klasse "editsection".
         var editsections = new Array();
         var divs = document.getElementById("bodyContent").getElementsByTagName("div");
         for(var i = 0; i < divs.length; i++) {
             if(divs.className == "editsection") {
                 editsections.push(divs);
             }
         }
         // Wenn die Seite Editsection-Buttons enthält.
         if (editsections.length != 0) {
             // Sucht zu jedem Editsection-Button die dazugehörige Überschrfift.
             var i = 0;
             var element, heading;
             while (editsections != null) {
                 element = editsections;
                 heading = element.nextSibling;
                 while(!/^H$/.test(heading.nodeName)) {
                     heading = heading.nextSibling;
                 }
                 // Erstellt innerhalb der Überschrift ein per CSS formatiertes span-Element.
                 // Dort hinein wird dann der Editsection-Link verschoben.
                 // Anschließend werden die Reste des alten Editsection-Buttons entfernt.
                 var spanElement = document.createElement("span");
                 var spaceNode = document.createTextNode(" ");
                 heading.appendChild(spaceNode);
                 heading.appendChild(spanElement);
 
                 spanElement.setAttribute("class", "editsection");
                 // spanElement.style.fontSize = "x-small";
                 // spanElement.style.fontWeight = "normal";
 
                 while (element.childNodes.length != 0) {
                                spanElement.appendChild(element.childNodes);
                 }
                 element.parentNode.removeChild(element);
                 i++;
             }
         } 
     }
 }
 // onload
 /* addOnloadHook(moveEditsection); DISABLED, 30 SEP 2006, EJB */
 // END Mooving of the editsection links
 // ============================================================
//</nowiki></pre>

//
/* Version 1.beta.4

]


'''Zeusmode''' - by ] - is an extensive elaboration of Sam Hocevar's godmode-light script and some other ]. It has been tested with ] and ]. Some functionality is retained when using ].
*/

/*<pre><nowiki>
==Zeusmode==

===Features===

* Rollback link in user contribution list and on last diff
* Link to diffs since own last edit on tabs ''and'' in the watchlist 
** doesnt work with extended watchlist
* Template checkbox bar in edit window ''and'' most other views
* Link to last diff
* Link for editing top section 
* hide one's own differences in the Watchlist
* Opera compatibility and some fixes by valhallasw
=== Credits ===
By ], based on:
*the ''God-like Monobook skin'', (c) 2005 Sam Hocevar <[email protected]>
**$Id: godmode-light.js 980 2005-11-12 01:51:51Z sam $
*Wikipedia user Scripts, http://en.wikipedia.orghttps://wiki386.com/nl/Wikipedia:WikiProject_User_scripts/Scripts
** Add edit top link, by ]
** Changes since I last edited, by ]
** Show last diff, by ]
** hideOwn differences in Watchlist, anonymous
** quickWikify, by ]
-----------------------------------------------------------------------------
*/

// -----------------------------------------------------------------------------
// Default system messages
// -----------------------------------------------------------------------------
if (navigator.appName != 'Microsoft Internet Explorer') {

var rollbacklink = 'rollback';
var cantrollback = 'Cannot revert edit; last contributor is only author of this page.';
var alreadyrolled = 'Cannot rollback last edit of ] by ] (]); someone else has edited or rolled back the page already. Last edit was by ] (]). ';
var revertpage = 'Reverted edits by ] to last version by $1';

var txtPleaseWait = 'Please wait, reverting edits by ';
var txtErrBadAuth= '<b>Error:</b> Bad authentication token!';
var txtGetHist= 'Getting article history...';
var txtLast = 'Last';
var txtShowMostRecentDiff="Show most recent diff";
var txtComment = 'Comment';

var txtSince = 'Since';
var txtChangesSinceILastEdited = "Changes since I last edited";

var txtEditTopLink = 'edit';
var txtHideLink = 'hide';

var txtSavePage = 'Save';
var txtMinorEdit = '<b>M</b>';
var qTemplate = new Array();
var qPos = new Array();
var qCategory = new Array();
var qTemplateText = new Array();
var qPrompt = new Array();
var qDisplayText = new Array();
var qDefault = new Array();
var dontusesquirlyBrackets = new Array();
var qAdvancedParameters = new Array();
var qHidden = new Array;
var qCustomTemplateIdentifier = new Array();

var stupidEnglishWatchlist = false;
var txtPlace = 'revert to version by ] of $2 ($1)';
var txtPlaceLink = 'place';
var txtDiffPrevious = 'cur';
var txtEditconflict = 'Edit conflict: Someone has altered the page since you last loaded it';
var lenRevisionOf = 0;
var diffadjuster = 2;

var txtParseEditform = 'Parsing the editform <small>(any error in this stage indicates an error in the <a href=http://nl.wikipedia.org/w/index.php?title=Speciaal:Recentchanges&days=14&namespace=8>mediawiki namespace</a>.)</small>: ';
var txtOk = ' Ok';
var txtSubmitEditform = 'Now submitting the form..... ';
var txtPlaceOld = 'Placing old version.... '
var txtLoadEditform = 'Loading the editform ($1): ';
var txtParseHist = 'Parsing article history';
txtLastErr = 'Error: Last editor is $1 not $2';
txtOnlyErr = 'Error: $1 is the only editor!';
var txtNotEdited = 'You have not edited this page! (recently)';

namespaceSpecial = 'Special';

var k = 0;
var templateDeleteIdentifier= 0;

// -----------------------------------------------------------------------------
// Modules and configuration
// -----------------------------------------------------------------------------

//Set the default settings for Recent Changes.
defaultRecentChangesParameters = '?hidepatrolled=1&hideliu=1&limit=500';

//If you are sysop, change false to true in the next line
var isSysop = false;

document.write('<scr'+'ipt type="text/javascript"'
  + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/Zeusmode/toolbox.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');

document.write('<scr'+'ipt type="text/javascript"'
  + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/Zeusmode/revert.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');

document.write('<scr'+'ipt type="text/javascript"'
  + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/Zeusmode/newpages.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');

document.write('<scr'+'ipt type="text/javascript"'
  + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/Zeusmode/qtemplate.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');

document.write('<scr'+'ipt type="text/javascript"'
  + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/Zeusmode/' + wgContentLanguage + '.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');


//If you want to define your own templates, place a copy of 
// ] 
//In your own namespace and replace the following reference with
//a reference to your own namespace, eg. ]
//for commons you need to replace "' + wgContentLanguage + '" with "commons"
document.write('<scr'+'ipt type="text/javascript"'
  + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/Zeusmode/' + wgContentLanguage + '-templates.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');

}

//</nowiki></pre>