User:Lupo/monobook.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Lupo (talk | contribs) at 07:41, 3 June 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
document.write('\<div class="portlet" id="p-lupo-links" style="position:absolute; top:0px; left: 0px; float:left; z-index:3; width:14.2em; overflow:visible;"\>\<h4 style="padding: 0em 1em 0em 0.5em;"\>My own tools\<\/h4\>\<div class="pBody"\>\<a href="http:\/\/meta.wikipedia.org\/wiki\/Special:Recentchanges"\>Meta RC\<\/a\>&nbsp;|&nbsp;\<a href="http:\/\/meta.wikipedia.org\/wiki\/MediaWiki_1.3_comments_and_bug_reports"\>1.3\<\/a\>\<br\>\<a  href="http:\/\/mail.wikipedia.org\/pipermail\/wikien-l\/2004-June\/thread.html#end"\>Mailing list (en)\<\/a\>\<br\>Logs: <a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Protection_log"\>P\<\/a\>&nbsp;|&nbsp;<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Block_log"\>B\<\/a\>&nbsp;|&nbsp;<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Deletion_log"\>D\<\/a\>&nbsp;|&nbsp;<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Upload_log"\>U\<\/a\>\<br\><a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Votes for deletion"\>VfD\<\/a\>&nbsp;\<a href="http:\/\/en.wikipedia.org\/w\/wiki.phtml?title=Wikipedia:Votes_for_deletion&action=edit"\>(edit)\<\/a\>\<br\>\<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Copyright_problems"\>Copyvios\<\/a\>&nbsp;\<a href="http:\/\/en.wikipedia.org\/w\/wiki.phtml?title=Wikipedia:Copyright_problems&action=edit"\>(edit)\<\/a\>\<br\>\<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Cleanup"\>Cleanup\<\/a\>&nbsp;|&nbsp;\<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Village_pump"\>VP\<\/a\>&nbsp;|&nbsp;\<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Great_editing_in_progress"\>Kudos\<\/a\>\<br\>\<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Image_copyright_tags"\>&copy;&nbsp;tags\<\/a\>&nbsp;|&nbsp;\<a href="http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Mediawiki_namespace"\>all&nbsp;msgs\<\/a\>\<hr\>\<a href="#" onclick="javascript:insertTags(\'{{disambig}}\',\'\',\'\');"\>dab\<\/a\>&nbsp;|&nbsp;warn&nbsp;\<a href="#" onclick="javascript:document.editform.wpTextbox1.value=document.editform.wpTextbox1.value+\'\{\{subst:test\}\} \~\~\~\~\';document.editform.wpSummary.value=\'your test\';document.editform.wpTextbox1.focus();"\>1<\/a\>&nbsp;<a href="#" onclick="javascript:document.editform.wpTextbox1.value=document.editform.wpTextbox1.value+\'\{\{subst:test2\}\} \~\~\~\~\';document.editform.wpSummary.value=\'your testing, again\';document.editform.wpTextbox1.focus();"\>2<\/a\>&nbsp;<a href="#" onclick="javascript:document.editform.wpTextbox1.value=document.editform.wpTextbox1.value+\'\{\{subst:test3\}\} \~\~\~\~\';document.editform.wpSummary.value=\'stop vandalizing\';document.editform.wpTextbox1.focus();"\>3<\/a\>&nbsp;|&nbsp;\<a href="#" onclick="javascript:document.editform.wpTextbox1.value=\'#REDIRECT [[\';document.editform.wpSummary.value=\'redir\';document.editform.wpMinoredit.checked=1;wpTextbox1.focus();"\>redir<\/a\>\<hr\><a href="http:\/\/en.wikipedia.org\/wiki\/User:Lupo\/rechts"\>\<em\>rechts\<\/em\>\<\/a\>&nbsp;<a href="http:\/\/en.wikipedia.org\/w\/wiki.phtml?title=User:Lupo/rechts&action=edit"\>(edit)\<\/a\>&nbsp;|&nbsp;\<a href="http:\/\/en.wikipedia.org\/w\/wiki.phtml?title=User:Lupo/monobook.css&action=edit"\>css\<\/a\>&nbsp;|&nbsp;\<a href="http:\/\/en.wikipedia.org\/w\/wiki.phtml?title=User:Lupo/monobook.js&action=edit"\>js\<\/a\>\<\/div\>\<\/div\>')

function languageAtTop () {
  var langlinks = document.getElementById('p-lang').cloneNode (true);
  langlinks.id = 'mylang';
  document.getElementById('column-content').prependChild(langlinks);
}

function morelinks() {
  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;
  }
  document.getElementById('column-content').appendChild(tabs);
  languageAtTop();
}

function reformatMyPage() {
  morelinks();
  languageAtTop();
}

if (window.addEventListener) window.addEventListener("load",reformatMyPage,false);
else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);