User:Erutuon/scripts/discussionNavigation.js

var namespaceNumber = mw.config.values.wgNamespaceNumber;

// if in Wiktionary namespace and if discussion month navigation is found if ( namespaceNumber === 4 && $("#monthly-pages-nav").length ) {	var $children = $("#monthly-pages-nav").children; $children.unwrap.wrapAll(" ").wrap(" "); $children.first.css("float", "").html(		function(index, content) {			return content.replace(": ", ": ");		}	); $("#monthly-pages-nav").find("td").first.css("border-bottom", "1px solid darkgray"); $("#monthly-pages-nav").html(		function(index, content) {			return content.replace(/ · ([^·]+current)/, " $1");		}	); $("#monthly-pages-nav").css({		"font-size": "smaller",		"text-align": "center"	}); }