MediaWiki:Common.js

// add page create date to the right of the shortdesc // uses Template:Createdate which transcludes to a #createdate element which has a data attribute $("#contentSub").append(' ' + $("#createdate").data("date") + " ");

// currently doesnt work, dont know why

// allows limited use of fieldset html tag in wikitext // var field; $(".fieldset").each(function(index, object) {	field = $(object);	field.html( '' + ' ' + field.data("legend") + " " + field.data("content") + " "	);	}); // deletes heading, shortdesc (content sub), and page name in title in main page if(mw.config.get("wgPageName") === "Political_History_Wiki:Main_page") { $("#firstHeading").css("display", "none"); $("#contentSub").css("display", "none"); document.title = "Political History Wiki"; }