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

Content deleted Content added
No edit summary
Undid revision 1177973956 by Ohconfucius (talk)
 
(5 intermediate revisions by the same user not shown)
Line 9:
function Ohc_formatgeneral() {
ohc_change_type();
// ohc_protect_fmt();
// Ohc_formats();
// ohc_unprotect_fmt();
// ohc_downcase_CEO();
// 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 () {
if(document.forms.editform) {
mw.util.addPortletLink('p-tb', 'javascript:Ohc_run_formatgeneralOhc_formatgeneral()', 'FORMAT general', 't-fmt', 'general fmt, CT + cites', '', '');
 
}