Removed sysop right, it was removed from Defines.php long ago, rendering it useless...
[lhc/web/wiklou.git] / maintenance / archives / moveCustomMessages.php
1 <?php
2 /**
3 * @deprecated
4 * @package MediaWiki
5 * @subpackage MaintenanceArchive
6 */
7
8 /** */
9
10 # Move "custom messages" from the MediaWiki namespace to the Template namespace
11 # Usage: php moveCustomMessages.php [<lang>] [phase]
12
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
17
18 chdir( ".." );
19 require_once( "liveCmdLine.inc" );
20 require_once( "moveCustomMessages.inc" );
21
22 $phase = 0;
23 if ( is_numeric( @$argv[3] ) && $argv[3] > 0) {
24 $phase = intval($argv[3]);
25 }
26
27 moveCustomMessages( $phase );
28
29 ?>