User:Diwas/monobook.js

// Versionsvergleich zwischen mehreren Versionen auflösen $(function {	var multidiff = getElementsByClassName(document, "td", "diff-multi")[0];	if (! multidiff) return;	var leftlink = document.getElementById("mw-diff-otitle1").getElementsByTagName("a")[0].href;	var left = document.createElement("a");	left.href = leftlink + "&diff=next";	left.appendChild(document.createTextNode("→"));	multidiff.insertBefore(left, multidiff.firstChild);	var rightlink = document.getElementById("mw-diff-ntitle1").getElementsByTagName("a")[0].href;	var right = document.createElement("a");	right.href = rightlink + "&diff=prev";	right.appendChild(document.createTextNode("←"));	multidiff.appendChild(right); })