User:ErrantX/defaultsummaries.js: Difference between revisions

Content deleted Content added
adding minor summaries to the relevant dropdown, tweak the headers to be non-selecable :)
Rd232 (talk | contribs)
tweak
Line 35:
editsummAddCatToDropdown(minorDropdown,"Common minor edit summaries - click to use");
editsummAddCatToDropdown(dropdown,"Common edit summaries - click to use");
 
if (mw.config.get('wgNamespaceNumber') == 0)
{
editsummAddOptionToDropdown(minorDropdown,"Spelling/grammar correction");
editsummAddOptionToDropdown(minorDropdown,"Fixing style/layout errors");
Line 44 ⟶ 42:
editsummAddOptionToDropdown(minorDropdown,"Copyedit (minor)");
if (mw.config.get('wgNamespaceNumber') == 0)
{
editsummAddOptionToDropdown(dropdown,"Expanding article");
editsummAddOptionToDropdown(dropdown,"Adding/improving reference(s)");
Line 53:
editsummAddOptionToDropdown(dropdown,"Copyedit (major)");
} else
{
editsummAddCatToDropdown(dropdown,"Talk Pages");
editsummAddOptionToDropdown(dropdown,"Reply");
editsummAddOptionToDropdown(dropdown,"Comment");
if (mw.config.get('wgNamespaceNumber') % 2 != 0)
{
editsummAddOptionToDropdown(dropdown,"[[Wikipedia:WikiProject|WikiProject]] tagging");
editsummAddOptionToDropdown(dropdown,"[[Wikipedia:WikiProject|WikiProject]] assessment");
}
}