User:Cepstrum/common.js

//add "?useskin=monobook" to URLs $('a').attr('href',function{ var url = this.href;  var qpos = url.lastIndexOf("?");  var delim = "&";  if (qpos==-1) { delim="?"; }  return this.href+delim+"useskin=monobook"; }); /* // Default skin: you can change the default skin. Use the internal symbolic // names, ie 'vector', 'monobook': if (preg_match("/iphone/i", $_SERVER['HTTP_USER_AGENT'])) { $wgDefaultSkin = 'monobook'; } else { $wgDefaultSkin = 'monobook'; }*/