5 * @subpackage MaintenanceArchive
10 # Move "custom messages" from the MediaWiki namespace to the Template namespace
11 # Usage: php moveCustomMessages.php [<lang>] [phase]
13 # Script works in three phases:
14 # 1. Create redirects from Template to MediaWiki namespace. Skip if you don't want them
15 # 2. Move pages from MediaWiki to Template namespace.
16 # 3. Convert the text to suit the new syntax
19 require_once( "liveCmdLine.inc" );
20 require_once( "moveCustomMessages.inc" );
23 if ( is_numeric( @$argv[3] ) && $argv[3] > 0) {
24 $phase = intval($argv[3]);
27 moveCustomMessages( $phase );