Go to the source code of this file.
Enumerations | |
enum | MEDIAWIKI |
Variables | |
$wgRequestTime = microtime(true) | |
if(!isset($optionsWithArgs)) | $optionsWithArgs [] = 'conf' |
$self = array_shift( $argv ) | |
$IP | |
$options = array() | |
$args = array() | |
for($arg=reset($argv);$arg!==false;$arg=next($argv)) | $wgCommandLineMode = true |
$sep = PATH_SEPARATOR |
Definition in file commandLine.inc.
enum MEDIAWIKI |
Definition at line 27 of file commandLine.inc.
$args = array() |
Definition at line 50 of file commandLine.inc.
Referenced by StubUser::__call(), StubUserLang::__call(), StubContLang::__call(), StubObject::__call(), Parser_DiffTest::__call(), userOptions::__construct(), UploadDumper::__construct(), MediaTransformError::__construct(), PPTemplateFrame_Hash::__toString(), PPTemplateFrame_DOM::__toString(), StubObject::_call(), LogPage::actionText(), OutputPage::addWikiMsg(), OutputPage::addWikiMsgArray(), BackupDumper::BackupDumper(), Parser::braceSubstitution(), LinkMarkerReplacer::callback(), LBFactory::callMethod(), userOptions::checkOpts(), Article::commitRollback(), Parser::createAssocArgs(), DatabaseSqlite::deadlockLoop(), Database::deadlockLoop(), DeleteOldRevisions(), RecompressTracked::dispatch(), RecompressTracked::dispatchToSlave(), RecompressTracked::doAllOrphans(), Database::execute(), RecompressTracked::executeChild(), Database::fillPrepared(), RepoGroup::forEachForeignRepo(), LBFactory::forEachLBCallMethod(), CBTCompiler::generatePHP(), PPFrame_Hash::implode(), PPFrame_DOM::implode(), PPFrame_Hash::implodeWithFlags(), PPFrame_DOM::implodeWithFlags(), userOptions::initializeOpts(), DatabasePostgres::insert(), DatabaseIbm_db2::insert(), CoreParserFunctions::intFunction(), memcached::memcached(), MWException::msg(), PPFrame_Hash::newChild(), PPFrame_DOM::newChild(), Preprocessor_Hash::newCustomFrame(), Preprocessor_DOM::newCustomFrame(), RecompressTracked::newFromCommandLine(), BackupDumper::processArgs(), Parser_LinkHooks::replaceInternalLinksCallback(), MWException::runHooks(), Database::safeQuery(), MWGearmanJob::switchWiki(), CoreParserFunctions::tagObj(), PPFrame_Hash::virtualBracketedImplode(), PPFrame_DOM::virtualBracketedImplode(), PPFrame_Hash::virtualImplode(), PPFrame_DOM::virtualImplode(), wfArrayMerge(), wfEscapeShellArg(), wfForeignMemcKey(), wfMemcKey(), wfMergeErrorArrays(), wfMsg(), wfMsgExt(), wfMsgForContent(), wfMsgForContentNoTrans(), wfMsgHtml(), wfMsgNoDB(), wfMsgNoDBForContent(), wfMsgNoTrans(), wfMsgReal(), wfMsgReplaceArgs(), wfMsgWikiHtml(), wfRunHooks(), WikiErrorMsg::WikiErrorMsg(), and OutputPage::wrapWikiMsg().
$IP |
Initial value:
strval( getenv('MW_INSTALL_PATH') ) !== '' ? getenv('MW_INSTALL_PATH') : realpath( dirname( __FILE__ ) . '/..' )
Definition at line 43 of file commandLine.inc.
$options = array() |
Definition at line 49 of file commandLine.inc.
Referenced by RecompressTracked::__construct(), LinkCache::addLinkObj(), OutputPage::addStyle(), OutputPage::addWikiMsgArray(), UploadForm::ajaxGetLicensePreview(), ProtectionForm::buildCleanupScript(), OutputPage::buildCssLinks(), Language::dateFormat(), Block::doRetroactiveAutoblock(), DatabasePostgres::estimateRowCount(), DatabaseMssql::estimateRowCount(), DatabaseIbm_db2::estimateRowCount(), Database::estimateRowCount(), PPFuzzTest::execute(), DeletedContributionsPage::execute(), ApiExpandTemplates::execute(), fixLinksFromArticle(), Block::getDBOptions(), DeletedContributionsPage::getForm(), getHooksFromDoc(), ProtectedTitlesForm::getLevelMenu(), ProtectedPagesForm::getLevelMenu(), Title::getLinksTo(), File::getLinksTo(), Category::getMembers(), ImageListPager::getQueryInfo(), Article::getSelectOptions(), Title::getSubpages(), Title::getTemplateLinksTo(), ProtectedPagesForm::getTypeMenu(), DumpRenderer::handleRevision(), ImageHistoryList::imageHistoryLine(), DatabaseSqlite::indexUnique(), DatabaseSqlite::insert(), DatabasePostgres::insert(), DatabaseOracle::insert(), DatabaseMssql::insert(), DatabaseIbm_db2::insert(), Database::insert(), Xml::languageSelector(), Linker::link(), Linker::linkAttribs(), Linker::linkUrl(), Xml::listDropDown(), Block::load(), Block::loadRange(), PreferencesForm::mainPrefsForm(), SpecialRecentChanges::makeOptionsLink(), IPUnblockForm::makeOptionsLink(), DatabaseSqlite::makeSelectOptions(), DatabasePostgres::makeSelectOptions(), DatabaseOracle::makeSelectOptions(), DatabaseMssql::makeSelectOptions(), DatabaseIbm_db2::makeSelectOptions(), Database::makeSelectOptions(), DatabaseMssql::makeUpdateOptions(), Database::makeUpdateOptions(), ChangeTags::modifyDisplayQuery(), Xml::monthSelector(), Xml::namespaceSelector(), RecompressTracked::newFromCommandLine(), ImagePage::openShowImage(), SpecialRecentChanges::optionsPanel(), OutputPage::parserOptions(), ParserTest::ParserTest(), Article::prepareTextForEdit(), IndexPager::reallyDoQuery(), DateFormatter::reformat(), RefreshLinksJob2::run(), RefreshLinksJob::run(), ParserTest::runTest(), DatabaseMssql::select(), DatabaseIbm_db2::select(), Database::select(), DatabaseMssql::selectField(), Database::selectField(), Database::selectRow(), Database::selectSQLText(), OutputPage::setParserOptions(), SpecialAllpages::showChunk(), WhatLinksHerePage::showIndirectLinks(), SpecialAllpages::showToplevel(), SevenZipStream::stream_open(), OutputPage::styleLink(), ThumbnailImage::toHtml(), PageArchive::undeleteRevisions(), DatabaseMssql::update(), DatabaseIbm_db2::update(), Database::update(), wfInitStats(), wfMsgExt(), wfSpecialWatchlist(), wlCutoffLinks(), wlDaysLink(), wlHoursLink(), and OutputPage::wrapWikiMsg().
$optionsWithArgs[] = 'conf' |
Definition at line 38 of file commandLine.inc.
$self = array_shift( $argv ) |
Definition at line 42 of file commandLine.inc.
$sep = PATH_SEPARATOR |
Definition at line 109 of file commandLine.inc.
Referenced by bottomLinks(), SpecialSearch::formHeader(), getCategoryLinks(), PPFrame_Hash::implode(), PPFrame_DOM::implode(), PPFrame_Hash::implodeWithFlags(), PPFrame_DOM::implodeWithFlags(), Parser::makeFreeExternalLink(), SkinMonoBookCBT::newtalk(), SkinTemplate::outputPage(), SkinStandard::quickBar(), SkinCologneBlue::quickBar(), splitHash(), SkinNostalgia::topLinks(), PPFrame_Hash::virtualBracketedImplode(), PPFrame_DOM::virtualBracketedImplode(), PPFrame_Hash::virtualImplode(), and PPFrame_DOM::virtualImplode().
for ($arg=reset($argv);$arg!==false;$arg=next($argv)) $wgCommandLineMode = true |
Definition at line 106 of file commandLine.inc.
Referenced by DatabaseMssql::__construct(), Database::__construct(), StubUser::_newObject(), do_copy_newtalk_to_watchlist(), install_version_checks(), Http::isLocalURL(), WikiImporter::notice(), DatabasePostgres::open(), Database::reportQueryError(), wfBacktrace(), and wfOut().
$wgRequestTime = microtime(true) |
Definition at line 9 of file commandLine.inc.