User:Fenakhay/extraCategoryLinks.js

if (mw.config.get("wgNamespaceNumber") === 14) { $("div#mw-pages").find("li").append(function {		var title = $(this).find("a").attr("title"),			$links = $(" ").attr("class", "mw-whatlinkshere-tools")				.attr("style", "font-size:.8em;padding-left:1em;"),			$edit = $("").attr("href", "/w/index.php?title=" + title + "&action=edit")				.attr("title", title)				.text("← edit");			$history = $("").attr("href", "/w/index.php?title=" + title + "&action=history")				.attr("title", title)				.text("history");			$delete = $("").attr("href", "/w/index.php?title=" + title + "&action=delete")				.attr("title", title)				.text("delete");			$hard_purge = $("").attr("href", "/w/index.php?title=" + title + "&action=purge&forcelinkupdate=1")				.attr("title", title)				.text("hard purge");		$links.append(" &lrm;(").append($edit).append(" | ").append($history).append(" | ").append($delete).append(" | ").append($hard_purge).append(")");		return $links; }); }