MediaWiki:Gadget-friendlytag.js: Difference between revisions

v2.0 at 944fc6e: Revert "tag: {{not English}} has to be substituted"
imported>MusikAnimal
(v2.0 at eba1580: Fixes from jshint)
imported>MusikAnimal
(v2.0 at 944fc6e: Revert "tag: {{not English}} has to be substituted")
Line 452:
"hoax": "article may be a complete hoax",
"improve categories": "article may require additional categories",
"incoherentincomprehensible": "article is incoherent or very hard to understand or incomprehensible",
"in-universe": "article subject is fictional and needs rewriting from a non-fictional perspective",
"incoherent": "article is incoherent or very hard to understand",
"in use": "article is undergoing a major edit for a short while",
"lead missing": "article has no lead section and one should be written",
Line 497:
"underlinked": "article may require additional wikilinks",
"undue": "article lends undue weight to certain aspects of the subject but not others",
"unfocused": "article lacks focus or is about more than one topic",
"unreferenced": "article has no references at all",
"unreliable sources": "article's references may not be reliable sources",
Line 554 ⟶ 555:
"Sense (or lack thereof)": [
"confusing",
"incoherentincomprehensible",
"unfocused"
],
"Information and detail": [
Line 632 ⟶ 634:
Twinkle.tag.spellingList = [
{
label: '{{R from abbreviationinitialism}}: redirect from aan titleinitialism with(e.g. anAGF) to its expanded abbreviationform',
value: 'R from abbreviationinitialism'
},
{
label: '{{R from acronym}}: redirect from an acronym (e.g. POTUS) to its expanded form',
value: 'R from acronym'
},
{
Line 679 ⟶ 685:
},
{
label: '{{R from fulllong name}}: redirect from a title that is a complete or more complete name',
value: 'R from fulllong name'
},
{
Line 715 ⟶ 721:
},
{
label: '{{R from title withoutto diacritics}}: redirect to the article title with diacritical marks (accents, umlauts, etc.)',
value: 'R from title withoutto diacritics'
}
];
Line 830 ⟶ 836:
{ label: '{{Obsolete}}: improved version available', value: 'Obsolete' },
{ label: '{{PNG version available}}', value: 'PNG version available' },
{ label: '{{SVGVector version available}}', value: 'SVGVector version available' }
];
 
Line 1,205 ⟶ 1,211:
text = text.replace(/\{\{(mtc|(copy |move )?to ?commons|move to wikimedia commons|copy to wikimedia commons)[^}]*\}\}/gi, "");
}
if (tag === "SVGVector version available") {
text = text.replace(/\{\{((convert to |convertto|should be |shouldbe|to)?svg|badpng|vectorize)[^}]*\}\}/gi, "");
}
Line 1,266 ⟶ 1,272:
case "PNG version available":
/* falls through */
case "SVGVector version available":
/* falls through */
case "Obsolete":
Anonymous user