Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

convertdb.php File Reference

Go to the source code of this file.

Functions

 convertUserTable ()
 convertCurTable ()
 convertOldTable ()
 convertImageDirectoriesX ()
 convertImageDirectories ()
 convertMediaLinks ($text)
 fixRedirect ($text)
 fixUserOptions ($in)
 fixUserRights ($in)
 fixUserName ($in)
 indexTitle ($in)
 indexText ($text, $ititle)
 refillRandom ()
 renameOldTables ()
 removeOldTables ()

Variables

print This script is obsolete
print It is retained in the
source here in case some of
its code might be useful for
ad hoc conversion 
tasks
print It is retained in the
source here in case some of
its code might be useful for
ad hoc conversion but it is
not maintained and probably
won t even work as 
is
global $IP
 $wgTitle = Title::newFromText( "Conversion script" )
 $wgDBuser = "wikiadmin"
 $wgDBpassword = $wgDBadminpassword
 $wgImageDirectory = "/usr/local/apache/htdocs/upload"
 $wgMetaImageDirectory = "/usr/local/apache/htdocs-meta/upload"
print Done n


Function Documentation

convertCurTable  ) 
 

Definition at line 113 of file convertdb.php.

References $count, $row, $sql, $title, convertMediaLinks(), DB_READ, DB_WRITE, fixRedirect(), fixUserRights(), indexText(), indexTitle(), and wfQuery().

convertImageDirectories  ) 
 

Definition at line 302 of file convertdb.php.

References $count, $res, $row, $sql, $wgImageDirectory, $wgMetaImageDirectory, $wgUploadDirectory, DB_READ, DB_WRITE, and wfQuery().

convertImageDirectoriesX  ) 
 

Definition at line 247 of file convertdb.php.

References $count, $res, $sql, $wgImageDirectory, $wgMetaImageDirectory, $wgUploadDirectory, DB_WRITE, and wfQuery().

convertMediaLinks text  ) 
 

Definition at line 366 of file convertdb.php.

References $wgLang.

Referenced by convertCurTable().

convertOldTable  ) 
 

Definition at line 192 of file convertdb.php.

References $count, $row, $sql, $title, DB_READ, DB_WRITE, fixRedirect(), and wfQuery().

convertUserTable  ) 
 

Definition at line 60 of file convertdb.php.

References $count, $row, $sql, DB_READ, DB_WRITE, fixUserName(), fixUserOptions(), fixUserRights(), and wfQuery().

fixRedirect text  ) 
 

Definition at line 392 of file convertdb.php.

Referenced by convertCurTable(), and convertOldTable().

fixUserName in  ) 
 

Definition at line 489 of file convertdb.php.

References $lc.

Referenced by convertUserTable().

fixUserOptions in  ) 
 

Definition at line 406 of file convertdb.php.

References $n, and $s.

Referenced by convertUserTable().

fixUserRights in  ) 
 

Definition at line 474 of file convertdb.php.

Referenced by convertCurTable(), and convertUserTable().

indexText text,
ititle
 

Definition at line 507 of file convertdb.php.

References $lc, $wgLang, and SearchEngine::legalSearchChars().

Referenced by convertCurTable().

indexTitle in  ) 
 

Definition at line 497 of file convertdb.php.

References $lc.

Referenced by convertCurTable().

refillRandom  ) 
 

Definition at line 555 of file convertdb.php.

References $sql, DB_WRITE, and wfQuery().

removeOldTables  ) 
 

Definition at line 583 of file convertdb.php.

References DB_WRITE, and wfQuery().

renameOldTables  ) 
 

Definition at line 569 of file convertdb.php.

References $sql, DB_WRITE, and wfQuery().


Variable Documentation

global $IP
 

Definition at line 13 of file convertdb.php.

$wgDBpassword = $wgDBadminpassword
 

Definition at line 25 of file convertdb.php.

$wgDBuser = "wikiadmin"
 

Definition at line 24 of file convertdb.php.

$wgImageDirectory = "/usr/local/apache/htdocs/upload"
 

Definition at line 27 of file convertdb.php.

Referenced by convertImageDirectories(), and convertImageDirectoriesX().

$wgMetaImageDirectory = "/usr/local/apache/htdocs-meta/upload"
 

Definition at line 28 of file convertdb.php.

Referenced by convertImageDirectories(), and convertImageDirectoriesX().

$wgTitle = Title::newFromText( "Conversion script" )
 

Definition at line 18 of file convertdb.php.

print It is retained in the source here in case some of its code might be useful for ad hoc conversion but it is not maintained and probably won t even work as is
 

Definition at line 5 of file convertdb.php.

Referenced by LanguageUr::getDefaultUserOptions(), wfMungeToUtf8(), and wfSpecialVersion().

print Done n
 

Definition at line 55 of file convertdb.php.

print This script is obsolete
 

Definition at line 3 of file convertdb.php.

Referenced by RecentChange::loadFromCurRow(), RecentChange::notifyEdit(), RecentChange::notifyLog(), RecentChange::notifyMove(), RecentChange::notifyNew(), wfCleanFormFields(), wfCleanQueryVar(), wfFullUrl(), and wfFullUrlE().

print It is retained in the source here in case some of its code might be useful for ad hoc conversion tasks
 

Definition at line 5 of file convertdb.php.


Generated on Tue Jun 29 23:40:08 2004 for Mediawiki by doxygen 1.3.7