User:Cakemix/wikia.js

var ref = document.location.href; var a = str.indexOf("title=")+6; var b = str.substr(a); var c = str.substr(a, b.indexOf("&")); if (ref.indexOf("?diff=")) { document.getElementById('mw-diff-ntitle1').innerHTML+=" (Quick undo) "; }