User:Boven/monobook.js

function addlilink(tabs, url, name, id, title, key){ var na = document.createElement('a'); na.href = url; na.appendChild(document.createTextNode(name)); var li = document.createElement('li'); if(id) li.id = id; li.appendChild(na); tabs.appendChild(li); if(id) {       if(key && title) {           ta[id] = [key, title]; }       else if(key) {           ta[id] = [key, '']; }       else if(title) {           ta[id] = ['', title]; }   }    // re-render the title and accesskeys from existing code in wikibits.js    akeytt; return li; }

function addTab(url, name, id, title, key){ var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0]; return addlilink(tabs, url, name, id, title, key); }

function doToggleMeta { var element = document.getElementById('persondata');

if (element.style.display == 'none') element.style.display = 'block'; else element.style.display = 'none'; }

function addToggleMeta {

if (document.getElementById('persondata') != null) {   addTab("javascript:doToggleMeta", "Show/hide persondata", "ca-togglemeta", "Toggle persondata on/off", ""); akeytt; } }

if (document.title.indexOf("Editing ") != 0) { if (window.addEventListener) window.addEventListener("load", addToggleMeta, false); else if (window.attachEvent) window.attachEvent("onload", addToggleMeta); }

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

// Script from User:Omegatron/monobook.js/addlink.js mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Omegatron/monobook.js/addlink.js'             + '&action=raw&ctype=text/javascript');

// Script from User:Gimmetrow/replace.js mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Gimmetrow/replace.js'             + '&action=raw&ctype=text/javascript');

Retrieved from "http://en.wikipedia.org/wiki/User:Dr_pda/monobook.js" Views

* User page * Discussion * View source * History * Watch

Personal tools

* Boven * My talk * My preferences * My watchlist * My contributions * Log out

Navigation

* Main Page * Community Portal * Featured articles * Current events * Recent changes * Random article * Help * Contact Wikipedia * Donations

Search Toolbox

* What links here * Related changes * Upload file * Special pages * Printable version * Permanent link

MediaWiki Wikimedia Foundation

* This page was last modified 15:41, 28 October 2006.