User:Writ Keeper/Scripts/archiveTopChecker.js

$(document).ready(function {	if(mw.config.get("wgAction") == "edit" && ((mw.config.get("wgNamespaceNumber") == 4 && mw.config.get("wgTitle").search("noticeboard") != -1) || 	   (mw.config.get("wgNamespaceNumber") == 3 && mw.config.get("wgTitle") == mw.config.get("wgUserName"))	   ))	{		$("#editform").submit(function {			if(/{{archive top\|.*status=[^\|}]*Writ Keeper &#9863;&#9812; 17:38, 29 July 2014 (UTC)/.test($("#wpTextbox1").val)) {				alert('Archive top params are the wrong way around! Switch "status" and "result".'); return false; }		});	} });