MediaWiki file: | fixDoubleRedirects.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | FixDoubleRedirects |
Details
fixDoubleRedirects.php file is a maintenance script located in the maintenance
directory that can be used to fix double redirects.
The edits will be attributed to the user named in the Double-redirect-fixer message (User:Redirect fixer on English wikis by default).
Edits made by this script are not shown on Special:RecentChanges, but they do appear in that user's contributions.
The edit summary comes from the Double-redirect-fixed-maintenance message.
This script was introduced in MediaWiki 1.18 (r81408) and is written for that version. For a version that runs on older MediaWiki versions (tested on 1.16), see here.
Usage
Option/Parameter | Description |
---|---|
--async | Don't fix anything directly, just queue the jobs |
--dry-run | Perform a dry run, fix nothing |
--title=page | Fix only redirects pointing to the given page |
See also
- $wgFixDoubleRedirects
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.