Misplaced Pages

User:Draicone/monobook.js: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 07:42, 21 July 2006 view sourceDraicone (talk | contribs)2,734 edits Fix bug← Previous edit Revision as of 07:45, 21 July 2006 view source Draicone (talk | contribs)2,734 edits Attempt more fixingNext edit →
Line 1: Line 1:
<pre><nowiki>

// Script from ] // Script from ]


Line 45: Line 47:
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


//
//<pre><nowiki>
function aivlist(type) { function aivlist(type) {
var f = document.editform, t = f.wpTextbox1; var f = document.editform, t = f.wpTextbox1;

Revision as of 07:45, 21 July 2006

<pre><nowiki>

// Script from ]

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/search/?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// ]

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/search/?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// ]

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/search/?title=User:Zocky/SearchBox.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// ]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/search/?title=User:Zocky/AutoComplete.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//]

// Helper tools
document.write('<script type="text/javascript" src="' 
   + 'http://en.wikipedia.org/search/?title=User:Voice_of_All/Addtabs/monobook.js' 
   + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

document.write('<script type="text/javascript" src="' 
   + 'http://en.wikipedia.org/search/?title=User:Voice_of_All/Dropdown/monobook.css' 
   + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

document.write('<script type="text/javascript" src="' 
   + 'http://en.wikipedia.org/search/?title=User:Voice_of_All/replacetxt.js' 
   + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

document.write('<script type="text/javascript" src="' 
   + 'http://en.wikipedia.org/search/?title=User:Voice_of_All/Deletion/monobook.js' 
   + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

document.write('<script type="text/javascript" src="' 
   + 'http://en.wikipedia.org/search/?title=User:Voice_of_All/History/monobook.js' 
   + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//
 function aivlist(type) {
  var f = document.editform, t = f.wpTextbox1;
  if (t.value.length > 0)
    t.value += '\n';
  var ip = prompt("Enter IP address", "");
  var reason = prompt("Enter reason for listing", "");
  t.value += "*{{" + type + "|" + ip +"}} " + reason + "--~" + "~" + "~" + "~";
  f.wpSummary.value = "Listing " + ip;
  f.submit();
 }

addOnloadHook(
 function addaivlink() { 
  if (document.title.indexOf("Editing Misplaced Pages:Administrator intervention against vandalism") != -1)
  {
    addTab("javascript:aivlist('vandal')", "vandal", "ca-vandal", "Report a vandal", "");
    addTab("javascript:aivlist('ipvandal')", "ipvandal", "ca-ipvandal", "Report an ipvandal", "");
  } }
);
//

//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  document.write('<script type="text/javascript" src="' 
    + 'http://en.wikipedia.org/search/?title=User:Interiot/Tool2/code.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }

</nowiki></pre>