Manual:cleanupCaps.php

From MediaWiki.org

Jump to: navigation, search
MediaWiki File: cleanupCaps.php
Location: /maintenance/
Source code: HEAD

1.15.11.14.11.6.12

Classes: CapsCleanup

cleanupCaps.php is a maintenance script located in the maintenance directory that is used to clean up broken page links when somebody turns off $wgCapitalLinks. The conversions will be attributed to the user called Conversion script.

NOTE: This script transforms ALL the pages from your Wiki from uppercases to lowercases and creates redirects from the uppercases to lowercases (example: If you have a page called "Bear", it will move it to page "bear" and the page "Bear" will be a redirect to "bear") - do not use this script, unless you are prepared to manually fix a lot of redirects!

[edit] Usage

Option/Parameter Description
--dry-run Don't actually try moving them.