Manual:cleanupCaps.php

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

master 1.20.61.19.7

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!

Usage [edit]

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