Link fix for "About protected pages"
[mediawiki.git] / maintenance / cleandb.php
blobcf346a00e339ec757edb71db4cc8e0aed29d2974
1 <?
3 # Creating a new empty database; either this or the conversion
4 # script from the old format needs to be run, but not both.
6 global $IP;
7 include_once( "../LocalSettings.php" );
8 include_once( "$IP/Setup.php" );
10 $wgTitle = Title::newFromText( "Database creation script" );
11 include_once( "./buildTables.inc" );
12 set_time_limit(0);
14 #$wgDBname = "wikidb";
15 #$wgDBuser = "wikiadmin";
16 #$wgDBpassword = "adminpass";
18 cleanDatabase();
19 initializeTables();
21 print "Done.\n";
22 exit();