User:A diehard editor/en-PH-tagger.js

function setEnPH { document.editform.wpTextbox1.value = '{' + '{' + 'Use Philippine English|date=' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'Set English variant to Philippine English'; document.editform.submit; }

mw.util.addPortletLink("p-tb", "javascript:setEnPH", "Set en-PH", "ca-set-enph", "en-PH", "");