User:Ohconfucius/script/formatgeneral.js: Difference between revisions

Content deleted Content added
align to test script
Tag: Replaced
Undid revision 1177973956 by Ohconfucius (talk)
 
(11 intermediate revisions by the same user not shown)
Line 15:
ohc_linkspam();
Ohc_final_cleanup();
}
 
function Ohc_run_formatgeneral() {
Ohc_formatgeneral();
Ohc_formatgen_edit_summary();
 
}
 
Line 27 ⟶ 22:
setoptions(minor='true');
setreason('General [[WP:MOS|formatting]]', 'append');
// doaction('savediff');
}
 
$(function () {
if(document.forms.editform) {
mw.util.addPortletLink('p-tb', 'javascript:Ohc_formatgeneral()', 'FORMAT general', 't-fmt', 'general fmt, CT + cites', '', '');
 
}
});