maintenance/fetchText.php File Reference

Communications protocol. More...

Go to the source code of this file.

Functions

while(!feof($stdin)) doGetText ($db, $id)
 May throw a database error if, say, the server dies during query.

Variables

 $db = wfGetDB( DB_SLAVE )
 $stdin = fopen( "php://stdin", "rt" )


Detailed Description

Communications protocol.

..

Definition in file fetchText.php.


Function Documentation

while (!feof($stdin)) doGetText ( db,
id 
)

May throw a database error if, say, the server dies during query.

Definition at line 28 of file fetchText.php.

References $db, $row, $text, and Revision::getRevisionText().


Variable Documentation

$db = wfGetDB( DB_SLAVE )

Definition at line 11 of file fetchText.php.

Referenced by UserRightsProxy::__construct(), RevisionDeleter::__construct(), SearchPostgres::__construct(), SearchOracle::__construct(), SearchMySQL::__construct(), SearchIBM_DB2::__construct(), LinkCache::addLinkObj(), ApiQueryBase::addWhereRange(), ApiQuerySiteinfo::appendInterwikiMap(), BackupDumper::backupDb(), MediaWiki_TestCase::buildTestDatabase(), buildTestDatabase(), ParserTest::changeDBPrefix(), User::checkNewtalk(), ApiQueryBase::checkRowCount(), LinkBatch::constructSet(), Revision::countByPageId(), Revision::countByTitle(), dbsource(), Article::deletetrackback(), SpecialExport::doExport(), doGetText(), SiteStats::doLoad(), BackupDumper::dump(), Block::encodeExpiry(), ApiQueryUsers::execute(), ApiQueryContributions::execute(), ApiQueryRevisions::execute(), ApiQueryRecentChanges::execute(), ApiQueryLogEvents::execute(), ApiQueryLangLinks::execute(), ApiQueryInfo::execute(), ApiQueryExternalLinks::execute(), ApiQueryDeletedrevs::execute(), ApiQueryCategoryInfo::execute(), ApiQueryAllUsers::execute(), Revision::fetchFromConds(), PostgresField::fromText(), IBM_DB2Field::fromText(), EditPage::getBaseRevision(), Block::getDBOptions(), LogEventsList::getExcludeClause(), Title::getFirstRevision(), Interwiki::getInterwikiCacheEntry(), Article::getLastNAuthors(), Title::getLatestRevID(), Title::getLinksTo(), File::getLinksTo(), ApiBase::getModuleProfileName(), ApiQuery::getNamedDB(), Title::getNextRevisionID(), Title::getPreviousRevisionID(), Revision::getPreviousRevisionId(), ApiQueryInfo::getProtectionInfo(), getRebuildInterwikiDump(), ApiPageSet::getRedirectTargets(), AncientPagesPage::getSQL(), ExternalStoreDB::getTable(), Title::getTouched(), ApiQueryInfo::getTSIDs(), ApiPageSet::initFromPageIds(), ApiPageSet::initFromQueryResult(), ApiPageSet::initFromRevIDs(), ApiPageSet::initFromTitles(), ImageCleanup::killRow(), Interwiki::load(), Block::load(), Revision::loadFromConds(), Revision::loadFromId(), Revision::loadFromPageId(), Revision::loadFromTimestamp(), Revision::loadFromTitle(), Block::loadRange(), lockSearchindex(), makeInterwikiSQL(), LinkFilter::makeLike(), EditPage::mergeChangesInto(), migrate_page_restrictions(), NamespaceConflictChecker::NamespaceConflictChecker(), Revision::newFromConds(), Title::newFromID(), UserRightsProxy::newFromLookup(), ImageCleanup::pokeFile(), populate_rev_parent_id(), ApiPageSet::populateFromQueryResult(), ApiQueryBacklinks::prepareFirstQuery(), ApiQueryBacklinks::prepareSecondQuery(), WantedTemplatesPage::preprocessResults(), WantedPagesPage::preprocessResults(), WantedFilesPage::preprocessResults(), WantedCategoriesPage::preprocessResults(), ShortPagesPage::preprocessResults(), SpecialMostlinkedtemplates::preprocessResults(), MostlinkedCategoriesPage::preprocessResults(), MostlinkedPage::preprocessResults(), LoadBalancer::reallyOpenConnection(), relockSearchindex(), ApiPageSet::resolvePendingRedirects(), MakeMessagesDB::run(), ApiQueryWatchlistRaw::run(), ApiQueryWatchlist::run(), ApiQueryProtectedTitles::run(), ApiQueryLinks::run(), ApiQueryImages::run(), ApiQueryExtLinksUsage::run(), ApiQueryDuplicateFiles::run(), ApiQueryCategoryMembers::run(), ApiQueryCategories::run(), ApiQueryBacklinks::run(), ApiQueryAllpages::run(), ApiQueryAllLinks::run(), ApiQueryAllimages::run(), ApiQueryAllCategories::run(), ApiQueryRandom::runQuery(), ApiQueryBase::select(), DatabaseSqlite::selectDB(), DatabaseMssql::selectDB(), Database::selectDB(), ApiQueryBase::selectNamedDB(), ParserTest::setupDatabase(), DifferenceEngine::showDiffPage(), ChronologyProtector::shutdownLB(), SiteConfiguration::siteFromDB(), unlockSearchindex(), wfAffectedRows(), wfDataSeek(), wfFetchObject(), wfFetchRow(), wfFieldExists(), wfFieldName(), wfForeignMemcKey(), wfFreeResult(), wfGetArray(), wfGetDB(), wfGetSQL(), wfIgnoreSQLErrors(), wfIndexExists(), wfInsertArray(), wfInsertId(), wfLastDBquery(), wfLastErrno(), wfLastError(), wfNextSequenceValue(), wfNumFields(), wfNumRows(), wfQuery(), wfSetSQL(), wfSingleQuery(), wfStrencode(), wfTableName(), wfUpdateArray(), wfUseIndexClause(), and wfWikiID().

$stdin = fopen( "php://stdin", "rt" )

Definition at line 12 of file fetchText.php.


Generated on Sat Sep 5 02:08:27 2009 for MediaWiki by  doxygen 1.5.9