General information about WPCleaner |
Discuss the application |
Suggestions for spelling and typography |
Frequently asked questions |
Install instructions |
| Bug report or feature request · History of changes · Configuration (help, template) · Wikis · Languages · Users · Screenshots | ||||
This page contains the configuration of Check Wikipedia error No. 566 (<abbr> tags) for WPCleanerNG.
WPCleanerNG reads the parameters from the YAML block below when a user logs in. When this page exists, the parameters error_566_replacements_enwiki, error_566_replacements_title_enwiki and error_566_templates_enwiki of Wikipedia:WikiProject Check Wikipedia/Translation are no longer used by WPCleanerNG. The other settings of the error (priority, title, description, whitelist) are still read from that page. See Wikipedia:WPCleanerNG/Configuration for the format of this page.
replacements: list of replacements suggested for an abbreviation, each given by the fields value (text between the <abbr> tags), automatic (true if the replacement can be automatic) and replacement. The replacement is automatic only in articles, when the tag has no title and no other attribute than class.replacements_title: list of replacements suggested for an abbreviation with a given title, each given by the fields value, title (value of the title attribute), automatic and replacement. They are used before replacements, and are automatic only in articles, when the tag has no other attributes than title and class.templates: list of templates suggested to replace any abbreviation, each given by a template field and the fields abbreviation and meaning (names or numbers of the parameters receiving the abbreviation and its meaning), and an optional default_meaning field (meaning written when the tag has no title).The parameter categories of the original WPCleaner is not used by WPCleanerNG.
# Templates which can replace an abbreviation
templates:
- template: "abbr"
abbreviation: "1"
meaning: "2"
default_meaning: "<!-- Meaning -->"
- template: "tooltip"
abbreviation: "1"
meaning: "2"
default_meaning: "<!-- Meaning -->"