addOnloadHook(function() {
if(wgCanonicalSpecialPageName !== "Watchlist") {
return;
}
var Muster = /(<TT>.*?<\/TT>)(<A*>*<\/A>)*\((<A*>*<\/A>)*(<A*>*<\/A>)\)*(<SPAN*>*<\/SPAN>|<STRONG*>*<\/STRONG>)*(<A*>*<\/A>)*\((<A*>*<\/A>)*(<A*>*<\/A>|)\)*(.*?)<BR*>/gi;
var Klammern = /\((.*?)\)/
var s = document.getElementById("bodyContent");
var SubstFkt = function(Zeile, Datum, Seite, Diff, Hist, Bytes, User, Disk, Contribs, Summary) {
return("<ul>" +
"<li><h4>"+Seite+"</h4></li>" +
"<li>"+Datum+"</li>" +
"<li>"+User+"</li>" +
"<li>"+Bytes.replace(Klammern, "$1")+"</li>" +
"<li>"+Summary.replace(Klammern, "$1")+"</li>" +
"<li>"+Diff+"</li>" +
"<li>"+Hist+"</li>" +
"<li>"+Disk+"</li>" +
"<li>"+Contribs+"</li></ul>");
}
s.innerHTML = s.innerHTML.replace(Muster, SubstFkt);
srUpdateJaws();
});
function srUpdateJaws() {
var e = document.getElementById("searchInput");
if(!e) { return; }
var s = e.value;
e.value = String(Math.random());
window.setTimeout((function() {
e.value = s;
}), 100);
}