MediaWiki:Gadget-WiktAjaxTransLinks.js

// function disableWiktAjaxTransLinks{ // test for javascript 1.7 == test for gecko >= rv:1.8.1 var ua = navigator.userAgent.toLowerCase; if (/gecko/.test(ua)) { var rv = ua.match(/\brv:(\d+)\.(\d+)(?:\.\d+)*/); if (rv) { if (rv[1] > 1) return false; if (rv[1] == 1) { if (rv[2] > 8) return false; if (rv[2] == 8) { if (rv[3] >= 1) return false; }     }    }  }  return true; }

s = disableWiktAjaxTransLinks if (s===false){ importScript('User:Hippietrail/ajaxtranslinks.js'); } //