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

Content deleted Content added
No edit summary
Undid revision 1177973956 by Ohconfucius (talk)
 
(10 intermediate revisions by the same user not shown)
Line 15:
ohc_linkspam();
Ohc_final_cleanup();
}
 
function Ohc_run_formatgeneral() {
var txt=document.editform.wpTextbox1;
Ohc_formatgeneral();
Ohc_formatgen_edit_summary();
 
}
 
Line 28 ⟶ 22:
setoptions(minor='true');
setreason('General [[WP:MOS|formatting]]', 'append');
// doaction('savediff');
}
 
$(function () {
var txt=if(document.editformforms.wpTextbox1;editform) {
mw.util.addPortletLink('p-tb', 'javascript:Ohc_formatgeneral()', 'FORMAT general', 't-fmt', 'general fmt, CT + cites', '', '');
 
}
});