Content deleted Content added
Lwarrenwiki (talk | contribs) No edit summary |
Lwarrenwiki (talk | contribs) No edit summary |
||
Line 298:
regex(/“/gi, '"'); // straight quotes
regex(/”/gi, '"'); // straight quotes
regex(/(.)“(.)/gi, '$1\"$2'); // straight quotes▼
regex(/‘/gi, '\''); // straight apostrophe (won't touch prime symbol here)
regex(/’/gi, '\''); // straight apostrophe (won't touch prime symbol here)
regex(/`/gi, '\''); // straight apostrophe (won't touch prime symbol here)
regex(/´/gi, '\''); // straight apostrophe (won't touch prime symbol here)
regex(/(.)”(.)/gi, '$1\"$2'); // straight quotes
regex(/(.)[“”](.)/gi, '$1\"$2');
regex(/(.)[“„”«»](.)/gi, '$1\"$2');
regex(/(.)’(.)/gi, '$1\'$2'); // straight apostrophe (won't touch prime symbol here)
regex(/(.)[‘`´’](.)/gi, '$1\'$2'); // straight apostrophe (won't touch prime symbol here)
Line 832 ⟶ 838:
//Add a tag to the summary box
setoptions(minor='true');
setreason('General [[WP:MOS|formatting]] by [[User:
doaction('diff');
}
Line 838 ⟶ 844:
if(document.forms.editform) {
mw.loader.using( ['mediawiki.util'], function() {
mw.util.addPortletLink('p-tb', 'javascript:Ohc_run_formatgeneral()', '
});
}
|