MediaWiki talk:Common.js

From Uncyclopedia, the content-free encyclopedia

Jump to: navigation, search

I reverted the change that calls css of every page load, this is rather an unnecessary load on the servers (as it's not needed the vast majority of the time). There is a work around for this that will work with 1.9, see w:c:starwars:MediaWiki talk:Monobook.js for details -- sannse@Wikia (talk) 09:59, 15 February 2007 (UTC)

Ah, I just assumed that calling the raw version of a non-existent or blank page would be negligible. My bad. I'm glad there's someone around who knows what they're doing :) Spang talk 16:06, 15 Feb 2007

edit ADDISHINAL JAVARSKRIPP for keeping "This page does not exist" out of existance

Sadly, Olipro's script doesn't prevent someone from moving crap onto "This page does not exist". Here's my workaround.

/** "This page does not exist" antimove script *****************
 * Prevents noobs from moving pages onto "This page does not exist".
 * By GreaseMonkey
 */
function StopMovingYerCrapOntoAFakePageDammit(){
  var buttsex=document.getElementById("wpNewTitle");
  if(buttsex==null){
    return;
  }
  var arghballs=""+buttsex.value;
  while(unescape(arghballs)!=arghballs){
    arghballs=unescape(arghballs);
  }if(arghballs.split(" ").join("_").toLowerCase()=="this_page_does_not_exist"){
    var lolfag=document.getElementById("movepage");
    lolfag.method="GET";
    lolfag.action="http://en.wikipedia.org/wiki/Goatse";
    buttsex.value="YOU SUCK";
  };
}

if(wgTitle=="Movepage"){
  setInterval('StopMovingYerCrapOntoAFakePageDammit()',100);
}

--thematrixeætsyou, the 1337 (talk) (flames) 06:56, 17 June 2007 (UTC)

(for those of you who don't know, GreaseMonkey is my new nick - this is my old nick.)

edit Couldn't IP be...

/** IP template for ban patrol ******
 * Others can be added for other or all pages.
 */
if (mwCustomEditButtons && wgPageName == 'Uncyclopedia:Ban_Patrol') {
 mwCustomEditButtons[mwCustomEditButtons.length] = {
   "imageFile": "IP_button.png",
   "speedTip": "IP template",
   "tagOpen": "*" + "{" + "{" + "IP|" + "ADDRESS" + "HERE!" + "}" + "}",
   "tagClose": "-" + "~" + "~" + "~" + "~"
   "sampleText": "Why should this IP be banned?"};
}

If my retarded coding skills are up to par, then what this will do will show people that they must give a reason.-Sir Ljlego, GUN VFH FIYC WotM SG WHotM PWotM AotM EGAEDM ANotM + (Talk) 18:51, 5 August 2007 (UTC)

edit Browser note

"Make sure that your code has been tested in the latest version of Firefox AND Internet Explorer! (Nobody cares about older versions)"

What about the latest versions of Opera, Safari, etc.? 75.154.122.148

Most people don't care about those either. Though, if you feel like testing it on those too, be my guest. Sir SockySexy girls Mermaid with dolphin Tired Marilyn Monroe (talk) (stalk)Magnemite Icons-flag-be GUN SotM UotM PMotM UotY PotM WotM 23:18, 3 June 2010
Personal tools
projects