Wikipedia:WPCleanerNG/Configuration/006

icon WPCleaner – 2.05 (August 26, 2022 (2022-08-26)) [±]
icon WPCleaner

General information about WPCleaner

icon Discussion

Discuss the application

icon Typos

Suggestions for spelling and typography

icon FAQ

Frequently asked questions

icon Installation

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. 6 (DEFAULTSORT with special letters) for WPCleanerNG.

WPCleanerNG reads the parameters from the YAML block below when a user logs in. When this page exists, the parameter error_006_replacements_enwiki of Wikipedia:WikiProject Check Wikipedia/Translation is 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.

Parameters

A configured replacement takes precedence over the built-in replacement of the same character. Characters allowed in sort keys are never replaced. The fix stays automatic.

Example: with the configuration below, {{DEFAULTSORT:Tom & Jerry}} and {{DEFAULTSORT:Tom&Jerry}} both become {{DEFAULTSORT:Tom and Jerry}} (T256055).

Configuration

replacements:
  # "&" replaced with the word "and"
  - character: "&"
    replacement: and
    word: true