Content deleted Content added
adding minor summaries to the relevant dropdown, tweak the headers to be non-selecable :) |
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
{
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");
}
}
|