Gebruiker:Rubietje88/vector.js
Opmerking: nadat u de wijzigingen hebt gepubliceerd is het wellicht nodig uw browsercache te legen.
- Firefox / Safari: houd Shift ingedrukt terwijl u op Vernieuwen klikt of druk op Ctrl-F5 of Ctrl-R (⌘-Shift-R op een Mac)
- Google Chrome: druk op Ctrl-Shift-R (⌘-Shift-R op een Mac)
- Internet Explorer / Edge: houd Ctrl ingedrukt terwijl u op Vernieuwen klikt of druk op Ctrl-F5
- Opera: druk op Ctrl-F5.
// [[Gebruiker:Erwin85/CH2.js]] ([[:en:User:Krimpet/CommonsHelper Helper]])
importScript('Gebruiker:Erwin85/CH2.js');
// Extra link aan de linkerkant naar Prefixindex
$(function() {
mw.util.addPortletLink('p-tb', "/wiki/Special:Prefixindex/" + wgPageName, "Prefixindex", 'tb-prefixindex');
});
// Extra link naar statistiekenpagina
function stats() {
mw.util.addPortletLink('p-cactions', 'http://stats.grok.se/nl/200804/'+wgPageName, "stats", "ca-stats", "See article stats");
}
$(stats);
// [[Gebruiker:Dschwen/wikiminiatlas2.js]] - please include this line in your monobook.js
document.write('<script type="text/javascript" src="'
+ 'http://nl.wikipedia.org/w/index.php?title=Gebruiker:Dschwen/wikiminiatlas2.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
$(function () {
var x;
if (!(x = document.getElementById('ca-edit') )) return;
var url;
if (!(url = x.getElementsByTagName('a')[0] )) return;
if (!(url = url.href )) return;
var y = mw.util.addPortletLink('p-cactions', url+"§ion=0", '0', 'ca-edit-0',
'Edit the lead section of this page', '0', x.nextSibling);
y.className = x.className; // steal classes from the the edit tab...
x.className = 'istalk'; // ...and make the edit tab have no right margin
// exception: don't steal the "selected" class unless actually editing section 0:
if (/(^| )selected( |$)/.test(y.className)) {
if (!document.editform || !document.editform.wpSection
|| document.editform.wpSection.value != "0") {
y.className = y.className.replace(/(^| )selected( |$)/g, "$1");
x.className += ' selected';
}
}
// addOnloadHook(function () {
var tabs = document.getElementById('p-cactions').cloneNode(true);
tabs.id = 'mytabs';
var listitems = tabs.getElementsByTagName('LI');
for (i=0;i<listitems.length;i++) {
if(listitems[i].id) listitems[i].id = 'mytabs-' + listitems[i].id;
}
content = document.getElementById("content"); // Find the content div
content.parentNode.insertBefore(tabs, content.nextSibling); // Place tab list right after content div
});
//
function toolServerPortlet() {
var tsp_subject = wgUserName
if(document.getElementById('t-contributions')) {
tsp_subject = wgTitle
}
var tsPortlet = ''
tsPortlet += '<div class="portlet" id="tsp"><h5>Wielrennen</h5><div class="pBody"><ul>'
tsPortlet += '<li id="t-editcount"><a href="http://nl.wikipedia.org/wiki/Wikipedia:Wikiproject Wielrennen "WP:WW">WP:WW</a></li>'
tsPortlet += '<li id="t-editcount"><a href="http://nl.wikipedia.org/wiki/Wikipedia:Wikiproject Wielrennen/Project 1 "Project 1">Project 1</a></li>'
tsPortlet += '<li id="t-editcount"><a href="http://nl.wikipedia.org/wiki/Gebruiker:Josq/Onderzoek kwaliteitsgroei/Rubietje88 "Onderzoek Kwaliteitsgroei">Werk</a></li>'
tsPortlet += '<li id="t-editcount"><a href="http://nl.wikipedia.org/wiki/Gebruiker:Rubietje88/portaalvoetbal "Portaal:Voetbal">Werk</a></li>'
tsPortlet += '<li id="t-editcount"><a href="http://nl.wikipedia.org/wiki/Overleg:FC_Dallas "Overleg:FC Dallas">FC Dallas etalage!!</a></li>'
tsPortlet += '</ul></div></div>'
if(document.getElementById("column-one")) {
document.getElementById("column-one").innerHTML += tsPortlet
}
}
$(toolServerPortlet);
// Links naar andere projecten aan
iprojectlinks = true;
// Intwiki's sorteren
importScript('Gebruiker:Rubietje88/interwiki.js');
//