Content deleted Content added
adding minor summaries to the relevant dropdown, tweak the headers to be non-selecable :) |
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879) |
||
(3 intermediate revisions by 2 users not shown) | |||
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) & (mw.config.get('wgNamespaceNumber') != 3))
{
editsummAddOptionToDropdown(dropdown,"[[Wikipedia:WikiProject|WikiProject]] tagging");
editsummAddOptionToDropdown(dropdown,"[[Wikipedia:WikiProject|WikiProject]] assessment");
}
}
Line 102 ⟶ 104:
}
editsummInitialize ();
|