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

Setup.php File Reference

Go to the source code of this file.

Variables

global $wgProfiling
global $wgProfileSampleRate
global $wgIP
global $wgUseSquid
global $wgUseDynamicDates
 $wgRequest = new WebRequest()
global $wgUser
global $wgLang = new $wgLangClass()
global $wgOut = new OutputPage()
global $wgTitle = Title::newFromText( wfMsg( badtitle ) )
global $wgArticle = new Article($wgTitle)
global $wgDeferredUpdateList = array()
global $wgLinkCache = new LinkCache()
global $wgMemc
global $wgMagicWords = array()
global $wgMwRedir = & MagicWord::get( MAG_REDIRECT )
global $wgDebugLogFile
global $wgMessageCache = new MessageCache
global $wgUseMemCached
global $wgUseDatabaseMessages
global $wgMsgCacheExpiry
global $wgDBname
global $wgCommandLineMode
global $wgBlockCache = new BlockCache( true )
global $wgParserCache = new ParserCache()
global $wgParser = new Parser()
global $wgDBConnections = array()
global $wgLoadBalancer = LoadBalancer::newFromParams( $wgDBservers, $wgDBloads, $wgDBuser, $wgDBpassword, $wgDBname )
global $wgDBservers
global $wgDBloads = array( 1 )
global $wgDBuser
global $wgDBpassword
 $headers = getallheaders()
 $wgLangClass = 'Language' . ucfirst( $wgLanguageCode )
 $xxx = new LanguageLatin1( $wgLang )
global $wgDateFormatter = new DateFormatter


Variable Documentation

$headers = getallheaders()
 

Definition at line 83 of file Setup.php.

Referenced by userMailer().

$wgArticle = new Article($wgTitle)
 

Definition at line 237 of file Setup.php.

$wgBlockCache = new BlockCache( true )
 

Definition at line 210 of file Setup.php.

Referenced by Block::clearCache(), and wfBlockCacheInsert().

global $wgCommandLineMode
 

Definition at line 73 of file Setup.php.

$wgDateFormatter = new DateFormatter
 

Definition at line 197 of file Setup.php.

Referenced by wfMainDateReplace().

$wgDBConnections = array()
 

Definition at line 233 of file Setup.php.

$wgDBloads = array( 1 )
 

Definition at line 150 of file Setup.php.

global $wgDBname
 

Definition at line 73 of file Setup.php.

global $wgDBpassword
 

Definition at line 75 of file Setup.php.

global $wgDBservers
 

Definition at line 75 of file Setup.php.

global $wgDBuser
 

Definition at line 75 of file Setup.php.

global $wgDebugLogFile
 

Definition at line 71 of file Setup.php.

$wgDeferredUpdateList = array()
 

Definition at line 226 of file Setup.php.

Referenced by LoginForm::addNewAccount(), ImagePage::doDelete(), MovePageForm::doSubmit(), doUpdates(), LoginForm::mailPassword(), LoginForm::mailPasswordInternal(), moveCustomMessages(), LoginForm::processLogin(), ImagePage::revert(), PreferencesForm::savePreferences(), LoginForm::successfulLogin(), UndeleteForm::undelete(), and wfRecordUpload().

global $wgIP
 

Definition at line 8 of file Setup.php.

Referenced by LoginForm::mailPasswordInternal(), RecentChange::notifyEdit(), RecentChange::notifyLog(), RecentChange::notifyMove(), RecentChange::notifyNew(), and wfSpecialBlockme().

$wgLang = new $wgLangClass()
 

Definition at line 178 of file Setup.php.

Referenced by LogPage::addEntry(), BookSourceList::askForm(), OutputPage::checkLastModified(), convertLinks(), convertMediaLinks(), LoginForm::cookieRedirectCheck(), dcPerson(), ImagePage::doDelete(), QueryPage::doFeed(), doFuzzyTitleSearch(), QueryPage::doQuery(), DBUnlockForm::doSubmit(), MovePageForm::doSubmit(), MakesysopForm::doSubmit(), DBLockForm::doSubmit(), IPUnblockForm::doSubmit(), EmailUserForm::doSubmit(), IPBlockForm::doSubmit(), SqlQueryForm::doSubmit(), UserTalkUpdate::doUpdate(), SearchUpdate::doUpdate(), QueryPage::feedTitle(), QueryPage::feedUrl(), CacheManager::fileCacheName(), WikiRevision::fixEncoding(), WantedPagesPage::formatResult(), ShortPagesPage::formatResult(), PopularPagesPage::formatResult(), NewPagesPage::formatResult(), LongPagesPage::formatResult(), ListUsersPage::formatResult(), CategoriesPage::formatResult(), AncientPagesPage::formatResult(), MessageCache::get(), WebRequest::getGPCText(), MessageCache::getKeys(), getMaintenancePageBacklink(), getMPL(), PreferencesForm::getToggle(), OutputPage::headElement(), PageHistory::history(), PageHistory::historyLine(), indexShowline(), indexShowToplevel(), indexText(), initialiseMessages(), DifferenceEngine::loadText(), LoginForm::LoginForm(), OutputPage::loginToUse(), LoginForm::mainLoginForm(), PreferencesForm::mainPrefsForm(), UploadForm::mainUploadForm(), makeWikiText(), moveCustomMessages(), PreferencesForm::namespacesCheckboxes(), OutputPage::out(), OutputPage::output(), page2xml(), pages2xml(), SearchEngine::parseQuery(), SearchEngine::parseQuery4(), SearchEngine::powersearch(), PreferencesForm::PreferencesForm(), UploadForm::processUpload(), SkinCologneBlue::quickBar(), rcCountLink(), rcDaysLink(), rebuildLinkTables(), PreferencesForm::resetPrefs(), PreferencesForm::savePreferences(), OutputPage::setEncodings(), LogPage::showAsDisabledPage(), DifferenceEngine::showDiffPage(), DBUnlockForm::showForm(), MovePageForm::showForm(), MakesysopForm::showForm(), DBLockForm::showForm(), IPUnblockForm::showForm(), EmailUserForm::showForm(), IPBlockForm::showForm(), SqlQueryForm::showForm(), UndeleteForm::showHistory(), UndeleteForm::showList(), BookSourceList::showList(), SearchEngine::showResults(), UndeleteForm::showRevision(), sns(), SkinCologneBlue::sysLinks(), Tokenizer::Tokenizer(), ucCountLink(), ucDaysLink(), ucListEdit(), UndeleteForm::undelete(), UploadForm::uploadWarning(), LoginForm::userNotPrivilegedMessage(), wfAddRow(), wfMsgReal(), wfNumLink(), wfRecordUpload(), wfShowingResults(), wfShowingResultsNum(), wfSpecialBrokenRedirects(), wfSpecialContributions(), wfSpecialDisambiguations(), wfSpecialDoubleRedirects(), wfSpecialExport(), wfSpecialImagelist(), wfSpecialImport(), wfSpecialListusers(), wfSpecialMaintenance(), wfSpecialMispeelings(), wfSpecialMissingLanguageLinks(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), wfSpecialSelfLinks(), wfSpecialSpecialpages(), wfSpecialSpecialpages_gen(), wfSpecialStatistics(), wfSpecialUnusedimages(), wfSpecialWatchlist(), wfViewPrevNext(), wlDaysLink(), wlHoursLink(), and FeedItem::xmlEncode().

$wgLangClass = 'Language' . ucfirst( $wgLanguageCode )
 

Definition at line 165 of file Setup.php.

$wgLinkCache = new LinkCache()
 

Definition at line 227 of file Setup.php.

Referenced by OutputPage::addMetaTags(), LinksUpdate::doDumbUpdate(), LinksUpdate::doUpdate(), rebuildLinkTables(), and refreshLinks().

$wgLoadBalancer = LoadBalancer::newFromParams( $wgDBservers, $wgDBloads, $wgDBuser, $wgDBpassword, $wgDBname )
 

Definition at line 152 of file Setup.php.

Referenced by wfGetDB().

$wgMagicWords = array()
 

Definition at line 228 of file Setup.php.

global $wgMemc
 

Definition at line 71 of file Setup.php.

Referenced by LinkCache::addLinkObj(), WatchedItem::addWatch(), BlockCache::clear(), LinkCache::clearLink(), MakesysopForm::doSubmit(), UserTalkUpdate::doUpdate(), WatchedItem::duplicateEntries(), ParserCache::get(), getTitlesByLength(), initialiseMessages(), WatchedItem::isWatched(), BlockCache::load(), memsess_destroy(), memsess_read(), memsess_write(), WatchedItem::removeWatch(), ParserCache::save(), wfSpecialRecentchanges(), and wfSpecialWatchlist().

$wgMessageCache = new MessageCache
 

Definition at line 159 of file Setup.php.

Referenced by MovePageForm::doSubmit(), initialiseMessages(), wfMsgReal(), wfSpecialAllmessages(), and wfUnicodeConverter().

global $wgMsgCacheExpiry
 

Definition at line 73 of file Setup.php.

$wgMwRedir = & MagicWord::get( MAG_REDIRECT )
 

Definition at line 229 of file Setup.php.

$wgOut = new OutputPage()
 

Definition at line 188 of file Setup.php.

Referenced by OutputPage::addMetaTags(), LoginForm::addNewAccount(), LoginForm::addNewAccountInternal(), LoginForm::addNewAccountMailPassword(), BookSourceList::askForm(), LoginForm::cookieRedirectCheck(), Database::Database(), WikiImporter::debug(), ImagePage::delete(), SpecialPage::displayRestrictionError(), SkinNostalgia::doAfterContent(), SkinCologneBlue::doAfterContent(), SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), ImagePage::doDelete(), ImagePage::doDeleteOldImage(), QueryPage::doFeed(), doFuzzyTitleSearch(), SkinStandard::doGetUserStyles(), SkinCologneBlue::doGetUserStyles(), QueryPage::doQuery(), DBUnlockForm::doSubmit(), MovePageForm::doSubmit(), MakesysopForm::doSubmit(), DBLockForm::doSubmit(), IPUnblockForm::doSubmit(), EmailUserForm::doSubmit(), IPBlockForm::doSubmit(), SqlQueryForm::doSubmit(), UploadForm::execute(), PreferencesForm::execute(), SpecialPage::execute(), SpecialPage::executePath(), goResult(), PageHistory::history(), ImagePage::imageHistory(), ImagePage::imageLinks(), indexShowChunk(), indexShowline(), indexShowToplevel(), initialiseMessages(), CacheManager::loadFromFileCache(), DifferenceEngine::loadText(), LoginForm::mainLoginForm(), PreferencesForm::mainPrefsForm(), UploadForm::mainUploadForm(), WikiImporter::notice(), ImagePage::openShowImage(), WikiImporter::out_revision(), AtomFeed::outHeader(), ChannelFeed::outXmlHeader(), SearchEngine::powersearch(), UploadForm::processUpload(), SkinCologneBlue::quickBar(), rdfSetup(), refreshLinks(), OutputPage::returnToMain(), ImagePage::revert(), PreferencesForm::savePreferences(), UploadForm::saveUploadedFile(), SpecialPage::setHeaders(), WikiImporter::setupFromUpload(), SearchEngine::setupPage(), BookSourceList::show(), LogPage::showAsDisabledPage(), DifferenceEngine::showDiff(), DifferenceEngine::showDiffPage(), MakesysopForm::showFail(), DBUnlockForm::showForm(), MovePageForm::showForm(), MakesysopForm::showForm(), DBLockForm::showForm(), IPUnblockForm::showForm(), EmailUserForm::showForm(), IPBlockForm::showForm(), SqlQueryForm::showForm(), UndeleteForm::showHistory(), showHit(), UndeleteForm::showList(), IPUnblockForm::showList(), BookSourceList::showList(), SearchEngine::showResults(), UndeleteForm::showRevision(), DBUnlockForm::showSuccess(), MovePageForm::showSuccess(), MakesysopForm::showSuccess(), DBLockForm::showSuccess(), EmailUserForm::showSuccess(), IPBlockForm::showSuccess(), LoginForm::successfulLogin(), SkinNostalgia::topLinks(), ucListEdit(), UndeleteForm::undelete(), UploadForm::unsaveUploadedFile(), UploadForm::uploadError(), UploadForm::uploadWarning(), LoginForm::userNotPrivilegedMessage(), wfAddRow(), wfDebug(), wfHttpError(), wfImportOldRevision(), wfQuery(), wfRecordUpload(), wfShowIndirectLinks(), wfSpecialAllmessages(), wfSpecialAsksql(), wfSpecialBlockip(), wfSpecialBlockme(), wfSpecialBrokenRedirects(), wfSpecialContributions(), wfSpecialDebug(), wfSpecialDisambiguations(), wfSpecialDoubleRedirects(), wfSpecialEmailuser(), wfSpecialExport(), wfSpecialImagelist(), wfSpecialImport(), wfSpecialIpblocklist(), wfSpecialListusers(), wfSpecialLockdb(), wfSpecialMaintenance(), wfSpecialMakesysop(), wfSpecialMispeelings(), wfSpecialMissingLanguageLinks(), wfSpecialMovepage(), wfSpecialNeglectedpages(), wfSpecialRandompage(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), wfSpecialSelfLinks(), wfSpecialSpecialpages(), wfSpecialSpecialpages_gen(), wfSpecialStatistics(), wfSpecialUnlockdb(), wfSpecialUnusedimages(), wfSpecialUserlogout(), wfSpecialVersion(), wfSpecialVote(), wfSpecialWatchlist(), wfSpecialWhatlinkshere(), and wfUnicodeConverter().

$wgParser = new Parser()
 

Definition at line 231 of file Setup.php.

Referenced by OutputPage::addWikiText().

$wgParserCache = new ParserCache()
 

Definition at line 230 of file Setup.php.

Referenced by OutputPage::addWikiText(), and OutputPage::tryParserCache().

global $wgProfileSampleRate
 

Definition at line 8 of file Setup.php.

global $wgProfiling
 

Definition at line 8 of file Setup.php.

$wgRequest = new WebRequest()
 

Definition at line 63 of file Setup.php.

Referenced by DBLockForm::DBLockForm(), ImagePage::delete(), ImagePage::doDelete(), QueryPage::doQuery(), DBUnlockForm::doSubmit(), DBLockForm::doSubmit(), EmailUserForm::EmailUserForm(), OutputPage::getHeadLinks(), goResult(), OutputPage::headElement(), IPBlockForm::IPBlockForm(), UploadForm::mainUploadForm(), MovePageForm::MovePageForm(), ImagePage::openShowImage(), SearchEngine::powersearch(), OutputPage::returnToMain(), ImagePage::revert(), SkinCologneBlue::searchForm(), IPBlockForm::showForm(), SearchEngine::showResults(), ucCountLink(), ucDaysLink(), ucListEdit(), UploadForm::unsaveUploadedFile(), UploadForm::uploadWarning(), wfCheckLimits(), wfSpecialAllmessages(), wfSpecialAllpages(), wfSpecialAsksql(), wfSpecialBlockip(), wfSpecialBooksources(), wfSpecialContributions(), wfSpecialEmailuser(), wfSpecialExport(), wfSpecialImagelist(), wfSpecialImport(), wfSpecialIpblocklist(), wfSpecialLockdb(), wfSpecialMaintenance(), wfSpecialMakesysop(), wfSpecialMissingLanguageLinks(), wfSpecialMovepage(), wfSpecialNewpages(), wfSpecialPreferences(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), wfSpecialUndelete(), wfSpecialUnlockdb(), wfSpecialUpload(), wfSpecialUserlogin(), wfSpecialWhatlinkshere(), and wfUnicodeConverter().

$wgTitle = Title::newFromText( wfMsg( badtitle ) )
 

Definition at line 236 of file Setup.php.

global $wgUseDatabaseMessages
 

Definition at line 72 of file Setup.php.

global $wgUseDynamicDates
 

Definition at line 39 of file Setup.php.

Referenced by LanguageFy::date(), Language::date(), PreferencesForm::execute(), and PreferencesForm::mainPrefsForm().

global $wgUseMemCached
 

Definition at line 72 of file Setup.php.

global $wgUser
 

Definition at line 69 of file Setup.php.

Referenced by LogPage::addEntry(), LoginForm::addNewAccount(), LoginForm::addNewAccountInternal(), OutputPage::addWikiText(), OutputPage::checkLastModified(), OutputPage::databaseError(), LanguageFy::date(), Language::date(), ImagePage::delete(), OutputPage::developerRequired(), SkinNostalgia::doAfterContent(), SkinCologneBlue::doAfterContent(), SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), ImagePage::doDelete(), SkinStandard::doGetUserStyles(), SkinCologneBlue::doGetUserStyles(), QueryPage::doQuery(), DBUnlockForm::doSubmit(), MovePageForm::doSubmit(), MakesysopForm::doSubmit(), DBLockForm::doSubmit(), IPUnblockForm::doSubmit(), EmailUserForm::doSubmit(), IPBlockForm::doSubmit(), SqlQueryForm::doSubmit(), UserUpdate::doUpdate(), UserTalkUpdate::doUpdate(), UploadForm::execute(), PreferencesForm::execute(), SpecialPage::execute(), getMaintenancePageBacklink(), getMPL(), PreferencesForm::getToggle(), OutputPage::headElement(), PageHistory::history(), ImagePage::imageHistory(), ImagePage::imageLinks(), indexShowChunk(), indexShowline(), initialiseMessages(), SearchEngine::initNamespaceCheckbox(), OutputPage::loginToUse(), logProfilingData(), SqlQueryForm::logQuery(), LoginForm::mailPassword(), LoginForm::mainLoginForm(), PreferencesForm::mainPrefsForm(), UploadForm::mainUploadForm(), moveCustomMessages(), PreferencesForm::namespacesCheckboxes(), LoginForm::onCookieRedirectCheck(), ImagePage::openShowImage(), OutputPage::output(), SearchEngine::powersearch(), LoginForm::processLogin(), UploadForm::processUpload(), SkinCologneBlue::quickBar(), rcCountLink(), rcDaysLink(), OutputPage::readOnlyPage(), refreshLinks(), renderMath(), PreferencesForm::resetPrefs(), OutputPage::returnToMain(), LogPage::saveContent(), PreferencesForm::savePreferences(), OutputPage::setEncodings(), DifferenceEngine::showDiffPage(), MakesysopForm::showFail(), DBUnlockForm::showForm(), MovePageForm::showForm(), MakesysopForm::showForm(), DBLockForm::showForm(), IPUnblockForm::showForm(), EmailUserForm::showForm(), IPBlockForm::showForm(), SqlQueryForm::showForm(), UndeleteForm::showHistory(), showHit(), UndeleteForm::showList(), BookSourceList::showList(), SearchEngine::showResults(), UndeleteForm::showRevision(), DBUnlockForm::showSuccess(), MovePageForm::showSuccess(), MakesysopForm::showSuccess(), DBLockForm::showSuccess(), EmailUserForm::showSuccess(), IPBlockForm::showSuccess(), LoginForm::successfulLogin(), SkinCologneBlue::sysLinks(), OutputPage::sysopRequired(), SkinNostalgia::topLinks(), ucCountLink(), ucDaysLink(), ucListEdit(), UndeleteForm::undelete(), UploadForm::uploadWarning(), LanguagePl::userAdjust(), Language::userAdjust(), userMailer(), LoginForm::userNotPrivilegedMessage(), wfAddRow(), wfCheckLimits(), wfNumLink(), wfRecordUpload(), wfShowIndirectLinks(), wfSpecialAsksql(), wfSpecialBlockip(), wfSpecialBrokenRedirects(), wfSpecialContributions(), wfSpecialDebug(), wfSpecialDisambiguations(), wfSpecialDoubleRedirects(), wfSpecialEmailuser(), wfSpecialImagelist(), wfSpecialIpblocklist(), wfSpecialListusers(), wfSpecialLockdb(), wfSpecialMaintenance(), wfSpecialMakesysop(), wfSpecialMispeelings(), wfSpecialMissingLanguageLinks(), wfSpecialMovepage(), wfSpecialNeglectedpages(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), wfSpecialSelfLinks(), wfSpecialSpecialpages(), wfSpecialStatistics(), wfSpecialUnlockdb(), wfSpecialUnusedimages(), wfSpecialUserlogout(), wfSpecialVersion(), wfSpecialVote(), wfSpecialWatchlist(), wfSpecialWhatlinkshere(), wfViewPrevNext(), wlDaysLink(), and wlHoursLink().

global $wgUseSquid
 

Definition at line 8 of file Setup.php.

$xxx = new LanguageLatin1( $wgLang )
 

Definition at line 176 of file Setup.php.


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