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. 2 (Tag with incorrect syntax) for WPCleanerNG.
WPCleanerNG reads the parameters from the YAML block below when a user logs in. When this page exists, the parameters error_002_anchor_templates_enwiki, error_002_clear_all_enwiki, error_002_clear_left_enwiki and error_002_clear_right_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.
anchor_templates: list of templates suggested to replace a self-closed <span id="…"/>, <div id="…"/> or <cite id="…"/> tag having only an id attribute. Each template is given by a template field and an optional parameter field (name or number of the parameter receiving the identifier, 1 by default). When this parameter is empty, general_anchor_templates of User:NicoV/WikiCleanerConfiguration is used.clear_all: replacement suggested for <br clear="all"> (or both), also written style="clear: both" or break="all"; it is automatic in articles.clear_left: replacement suggested for <br clear="left">.clear_right: replacement suggested for <br clear="right">.# Templates replacing <span id="xxx"/>
anchor_templates:
- template: Anchor
# Replacements for <br clear="xxx">
clear_all: "{{Clear}}"
clear_left: "{{Clear|left}}"
clear_right: "{{Clear|right}}"