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

upgradeWatchlist.php File Reference

Go to the source code of this file.

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( "Rebuild links script" )
 $wgDBuser = "wikiadmin"
 $wgDBpassword = $wgDBadminpassword
 $sql = "DROP TABLE IF EXISTS watchlist"
 $lc = new LinkCache
 $res = wfQuery( $sql, DB_READ )
 $nu = wfNumRows( $res )
 $i = $n = 0
 $bits = array()


Variable Documentation

$bits = array()
 

Definition at line 40 of file upgradeWatchlist.php.

Referenced by SpecialPage::executePath(), DateFormatter::replace(), and wfSpecialRecentchanges().

$i = $n = 0
 

Definition at line 37 of file upgradeWatchlist.php.

Referenced by OArray::__construct(), _DiffEngine::_diag(), PHPTAL_Template::_generateCode(), GetText_PHPSupport::_getTranslation(), PHPTAL_ES_PHP_Parser::_php_vars(), PHPTAL_Template::_process(), SqlBagOStuff::_query(), _DiffEngine::_shift_boundaries(), Algo_map(), OArray::contains(), Tokenizer::continues(), DateFormatter::DateFormatter(), PHPTAL_ES_PHP_Parser::evaluate(), field_info(), Database::fieldInfo(), LoadBalancer::force(), fuzzyTitles(), PHPTAL_Tag::generateCode(), OArray::get(), MemCachedClient::get_sock(), memcached::get_sock(), Namespace::getCanonicalIndex(), LoadBalancer::getConnection(), LanguageZh::getNsIndex(), LanguageTlh::getNsIndex(), LanguageTh::getNsIndex(), LanguageTa::getNsIndex(), LanguageSv::getNsIndex(), LanguageSr::getNsIndex(), LanguageSq::getNsIndex(), LanguageSl::getNsIndex(), LanguageSk::getNsIndex(), LanguageSc::getNsIndex(), LanguageRu::getNsIndex(), LanguageRo::getNsIndex(), LanguagePt::getNsIndex(), LanguagePl::getNsIndex(), LanguageOc::getNsIndex(), LanguageNo::getNsIndex(), LanguageNl::getNsIndex(), LanguageMs::getNsIndex(), LanguageLa::getNsIndex(), LanguageIt::getNsIndex(), LanguageIa::getNsIndex(), LanguageHu::getNsIndex(), LanguageHi::getNsIndex(), LanguageHe::getNsIndex(), LanguageGa::getNsIndex(), LanguageFy::getNsIndex(), LanguageFr::getNsIndex(), LanguageFi::getNsIndex(), LanguageFa::getNsIndex(), LanguageEt::getNsIndex(), LanguageEs::getNsIndex(), LanguageEo::getNsIndex(), LanguageDe::getNsIndex(), LanguageDa::getNsIndex(), LanguageCy::getNsIndex(), LanguageCa::getNsIndex(), LanguageBn::getNsIndex(), LanguageBg::getNsIndex(), LanguageAr::getNsIndex(), LanguageAf::getNsIndex(), Language::getNsIndex(), Profiler::getOutput(), LoadBalancer::getReader(), OArray::indexOf(), indexShowToplevel(), PHPTAL_Template::isValid(), Language::listToText(), MessageCache::lock(), PreferencesForm::mainPrefsForm(), MappedDiff::MappedDiff(), PreferencesForm::namespacesCheckboxes(), PHPTAL_ES_path_in_string(), LoadBalancer::pickRandom(), SearchEngine::powersearch(), PreferencesForm::PreferencesForm(), PHPTAL_Template::realpath(), rebuildLinkTables(), DateFormatter::reformat(), OHash::remove(), OArray::remove(), OHash::removeElement(), OArray::removeIndex(), MathRenderer::render(), PreferencesForm::resetPrefs(), OArray::setRef(), splitHash(), PHPTAL_Tag::surroundFoot(), PHPTAL_Tag::surroundHead(), table_exists(), PHPTAL_Tag::toString(), OArray::values(), wfAbruptExit(), wfGetType(), wfUtf8Entity(), wlCutoffLinks(), and writeLocalSettings().

global $IP
 

Definition at line 11 of file upgradeWatchlist.php.

$lc = new LinkCache
 

Definition at line 30 of file upgradeWatchlist.php.

Referenced by SearchUpdate::doUpdate(), fixUserName(), indexText(), indexTitle(), SearchEngine::legalSearchChars(), SearchEngine::parseQuery(), SearchEngine::parseQuery4(), SearchEngine::SearchEngine(), DBUnlockForm::showForm(), and DBLockForm::showForm().

$nu = wfNumRows( $res )
 

Definition at line 35 of file upgradeWatchlist.php.

Referenced by wfSpecialEmailuser().

$res = wfQuery( $sql, DB_READ )
 

Definition at line 34 of file upgradeWatchlist.php.

$sql = "DROP TABLE IF EXISTS watchlist"
 

Definition at line 56 of file upgradeWatchlist.php.

Referenced by SqlBagOStuff::_query(), MathRenderer::_recall(), LinkCache::addLinkObj(), WatchedItem::addWatch(), compressOldPages(), compressPage(), convertCurTable(), convertImageDirectories(), convertImageDirectoriesX(), convertOldTable(), convertUserTable(), createTextIndex(), Block::delete(), ImagePage::doDelete(), LinksUpdate::doDumbUpdate(), QueryPage::doFeed(), QueryPage::doQuery(), doRenamePage(), MakesysopForm::doSubmit(), ViewCountUpdate::doUpdate(), UserTalkUpdate::doUpdate(), SiteStatsUpdate::doUpdate(), SearchUpdate::doUpdate(), LinksUpdate::doUpdate(), dropTextIndex(), WatchedItem::duplicateEntries(), Block::enumBlocks(), LinksUpdate::fixBrokenLinks(), InsertBuffer::flush(), Database::generalizeSQL(), Database::get(), Database::getArray(), LogPage::getContent(), PageHistory::history(), ImagePage::imageLinks(), importPage(), importUser(), Database::indexExists(), indexShowChunk(), indexShowToplevel(), initialiseMessages(), Block::insert(), Database::insertArray(), InsertBuffer::InsertBuffer(), isTemplateInitialised(), WatchedItem::isWatched(), Block::load(), MessageCache::loadFromDB(), DifferenceEngine::loadText(), Profiler::logToDB(), moveCustomMessages(), SquidUpdate::newFromBrokenLinksTo(), SquidUpdate::newFromLinksTo(), SelectPulser::next(), Image::nextHistoryLine(), page2xml(), populatedata(), LinkCache::preFill(), Database::query(), rebuildLinkTables(), rebuildRecentChangesTable(), rebuildRecentChangesTablePass1(), rebuildRecentChangesTablePass2(), rebuildTextIndex(), refillRandom(), WatchedItem::removeWatch(), renameOldTables(), MathRenderer::render(), RecentChange::save(), LogPage::saveContent(), SelectPulser::SelectPulser(), Database::set(), UndeleteForm::showHistory(), UndeleteForm::showList(), BookSourceList::showList(), SearchEngine::showResults(), UndeleteForm::showRevision(), UndeleteForm::undelete(), update_passwords(), Database::updateArray(), wfImportOldRevision(), wfLoadSiteStats(), wfRecordUpload(), wfShowIndirectLinks(), wfSpecialBrokenRedirects(), wfSpecialContributions(), wfSpecialDisambiguations(), wfSpecialDoubleRedirects(), wfSpecialImagelist(), wfSpecialMispeelings(), wfSpecialMissingLanguageLinks(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), wfSpecialSelfLinks(), wfSpecialStatistics(), wfSpecialUnusedimages(), wfSpecialWatchlist(), and wfSpecialWhatlinkshere().

$wgDBpassword = $wgDBadminpassword
 

Definition at line 19 of file upgradeWatchlist.php.

$wgDBuser = "wikiadmin"
 

Definition at line 18 of file upgradeWatchlist.php.

$wgTitle = Title::newFromText( "Rebuild links script" )
 

Definition at line 15 of file upgradeWatchlist.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 upgradeWatchlist.php.

print This script is obsolete
 

Definition at line 3 of file upgradeWatchlist.php.

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 upgradeWatchlist.php.


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