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

importPhase2.php File Reference

Go to the source code of this file.

Classes

class  Phase2Importer
class  TitleCache

Variables

 $wgCommandLineMode = true
 $DP = "../includes"
 $wgDBuser = $wgDBadminuser
 $wgDBpassword = $wgDBadminpassword
 $sep = ( DIRECTORY_SEPARATOR == "\\" ) ? ";" : ":"
print You should have already
run the installer to create
fresh
print You should have already
run the installer to create
a blank database 
n
print nIf that s not what you want
print Please enter the name
of the old phase format database
that will be used as a 
source
print Old database name [enciclopedia]
 $olddb = readconsole()
print nSource database
print Is this correct Anything
in $wgDBname WILL BE 
DESTROYED [y/N]
 $response = readconsole()
 $wgTitle = Title::newFromText( "Conversion script" )
 $importer = new Phase2Importer( $olddb )


Variable Documentation

$DP = "../includes"
 

Definition at line 33 of file importPhase2.php.

$importer = new Phase2Importer( $olddb )
 

Definition at line 346 of file importPhase2.php.

Referenced by wfSpecialImport().

$olddb = readconsole()
 

Definition at line 328 of file importPhase2.php.

$response = readconsole()
 

Definition at line 338 of file importPhase2.php.

$sep = ( DIRECTORY_SEPARATOR == "\\" ) ? ";" : ":"
 

Definition at line 40 of file importPhase2.php.

$wgCommandLineMode = true
 

Definition at line 30 of file importPhase2.php.

$wgDBpassword = $wgDBadminpassword
 

Definition at line 38 of file importPhase2.php.

$wgDBuser = $wgDBadminuser
 

Definition at line 37 of file importPhase2.php.

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

Definition at line 345 of file importPhase2.php.

print Dest database
 

Definition at line 336 of file importPhase2.php.

print Is this correct Anything in $wgDBname WILL BE DESTROYED[y/N]
 

Definition at line 337 of file importPhase2.php.

print You should have already run the installer to create a fresh
 

Definition at line 322 of file importPhase2.php.

print Starting import n
 

Definition at line 343 of file importPhase2.php.

print Old database name[enciclopedia]
 

Definition at line 327 of file importPhase2.php.

Referenced by PHPTAL_Attribute_TAL_Attributes::_attributeExpression(), PHPTAL_Attribute_I18N_Attributes::_attributeExpression(), GetText_NativeSupport::_getVar(), PHPTAL_Parser::_raiseUnexpectedTagClosure(), PHPTAL_Template::_setTranslateVar(), OutputPage::addCookie(), OutputPage::addMeta(), LoginForm::addNewAccountInternal(), checkUserCache(), copyfile(), dcPage(), dcPageOrString(), dcPerson(), ImagePage::doDeleteOldImage(), PHPTAL_Generator::doMacroDeclare(), SpecialPage::executePath(), OutputPage::fileDeleteError(), OutputPage::fileNotFoundError(), WebRequest::getBool(), Namespace::getCanonicalIndex(), WebRequest::getCheck(), PHPTAL_Generator::getCode(), WebRequest::getGPCText(), WebRequest::getGPCVal(), WebRequest::getInt(), Image::getName(), SpecialPage::getPage(), SpecialPage::getPages(), WebRequest::getText(), WebRequest::getVal(), WebRequest::getValues(), PageHistory::historyLine(), Image::Image(), ImagePage::imageLinks(), importPost(), Language::Language(), Profiler::logToDB(), PreferencesForm::namespacesCheckboxes(), PHPTAL_Parser::onElementClose(), PHPTAL_Parser::onElementStart(), PHPTAL_Parser::OrderTemplateAttributes(), AtomFeed::outItem(), OutputPage::output(), processIrcInput(), PHPTAL_Generator::releaseTemporaryVar(), SpecialPage::removePage(), ImagePage::revert(), PHPTAL_Template::set(), OutputPage::setPageTitle(), PHPTAL_Template::setRef(), BookSourceList::showList(), LanguageLatin1::specialPage(), Image::thumbName(), Image::thumbUrl(), OutputPage::unexpectedValueError(), UnlistedSpecialPage::UnlistedSpecialPage(), UploadForm::UploadForm(), wfImageArchiveUrl(), Image::wfImageUrl(), wfRecordUpload(), wfSpecialImagelist(), wfSpecialSpecialpages_gen(), and wfSpecialUnusedimages().

print Please enter the name of the old phase format database that will be used as a source
 

Definition at line 326 of file importPhase2.php.

Referenced by copydirectory(), moveCustomMessages(), OutputPage::readOnlyPage(), update_passwords(), and wfGetType().

print nIf that s not what you want
 

Definition at line 324 of file importPhase2.php.


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