User:Writ Keeper/Scripts/teahouseTalkback.js

if(typeof teahouseNotified == "undefined") {	teahouseNotified = false; } $(document).ready(function {	if(mw.config.get("wgPageName") == "Wikipedia:Teahouse" && mw.config.get("wgAction") == "edit")	{		$("#wpSave").click(function {			if(!$("#wpMinoredit").prop("checked") && !teahouseNotified) {				alert("Remember to leave a Teahouse Talkback template!"); }		});	} });