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

importUseModWiki.php File Reference

Go to the source code of this file.

Functions

 importPages ()
 importPageDirectory ($dir, $prefix="")
 fetchUser ($uid)
 useModFilename ($title)
 fetchPage ($title)
 fetchKeptPages ($title)
 splitHash ($sep, $str)
 importUser ($uid)
 checkUserCache ($name, $host)
 importPage ($title)
 recodeText ($string)
 wfUtf8Sequence ($codepoint)
 wfMungeToUtf8 ($string)
 wfStrencode ($string)
 wfUnix2Timestamp ($unixtime)
 wfTimestamp2Unix ($ts)
 wfTimestampNow ()
 wfInvertTimestamp ($ts)
 wfSeedRandom ()
 array2object ($arr)

Variables

 $wgImportEncoding = "CP1252"
 $wgRootDirectory = "/home/usemod/wiki-ia/lib-http/db/wiki"
 $wgFieldSeparator = "\xb3"
 $FS = $wgFieldSeparator
 $FS1 = $FS."1"
 $FS2 = $FS."2"
 $FS3 = $FS."3"
 $conversiontime = wfTimestampNow()
 $usercache = array()


Function Documentation

array2object arr  ) 
 

Definition at line 328 of file importUseModWiki.php.

Referenced by fetchKeptPages(), and fetchPage().

checkUserCache name,
host
 

Definition at line 188 of file importUseModWiki.php.

References $usercache, name, and wfStrencode().

Referenced by importPage().

fetchKeptPages title  ) 
 

Definition at line 117 of file importUseModWiki.php.

References $FS, $FS1, $FS2, $FS3, $wgRootDirectory, $wgTimezoneCorrection, array2object(), splitHash(), title, and useModFilename().

Referenced by importPage().

fetchPage title  ) 
 

Definition at line 99 of file importUseModWiki.php.

References $FS, $FS1, $FS2, $FS3, $page, $wgRootDirectory, array2object(), page, splitHash(), title, and useModFilename().

Referenced by countLinksFrom(), and importPage().

fetchUser uid  ) 
 

Definition at line 76 of file importUseModWiki.php.

References $FS, $FS2, $FS3, $title, $wgRootDirectory, and splitHash().

Referenced by importUser().

importPage title  ) 
 

Definition at line 207 of file importUseModWiki.php.

References $any, $comment, $conversiontime, $page, $sql, $usercache, checkUserCache(), fetchKeptPages(), fetchPage(), page, recodeText(), title, wfInvertTimestamp(), wfStrencode(), and wfUnix2Timestamp().

Referenced by importPageDirectory(), and secondPass().

importPageDirectory dir,
prefix = ""
 

Definition at line 51 of file importUseModWiki.php.

References importPage().

Referenced by importPages().

importPages  ) 
 

Definition at line 36 of file importUseModWiki.php.

References $wgRootDirectory, and importPageDirectory().

importUser uid  ) 
 

Definition at line 162 of file importUseModWiki.php.

References $options, $sql, fetchUser(), and wfStrencode().

Referenced by secondPass().

recodeText string  ) 
 

Definition at line 260 of file importUseModWiki.php.

References $string, $wgImportEncoding, and wfMungeToUtf8().

Referenced by importPage().

splitHash sep,
str
 

Definition at line 142 of file importUseModWiki.php.

References $i.

Referenced by fetchKeptPages(), fetchPage(), and fetchUser().

useModFilename title  ) 
 

Definition at line 91 of file importUseModWiki.php.

References title.

Referenced by fetchKeptPages(), and fetchPage().

wfInvertTimestamp ts  ) 
 

Definition at line 313 of file importUseModWiki.php.

Referenced by importPage(), initialiseMessages(), populatedata(), rebuildRecentChangesTablePass2(), LogPage::saveContent(), wfImportOldRevision(), and wfRecordUpload().

wfMungeToUtf8 string  ) 
 

Definition at line 284 of file importUseModWiki.php.

References $string, and wfUtf8Sequence().

Referenced by recodeText().

wfSeedRandom  ) 
 

Definition at line 321 of file importUseModWiki.php.

References $wgRandomSeeded.

wfStrencode string  ) 
 

Definition at line 291 of file importUseModWiki.php.

Referenced by MathRenderer::_recall(), LinkCache::addLinkObj(), checkUserCache(), compressPage(), Block::delete(), ImagePage::doDelete(), LinksUpdate::doDumbUpdate(), QueryPage::doQuery(), doRenamePage(), MakesysopForm::doSubmit(), IPBlockForm::doSubmit(), SearchUpdate::doUpdate(), LinksUpdate::doUpdate(), WatchedItem::duplicateEntries(), Phase2Importer::fixTitles(), Phase2Importer::fixUserOptions(), WatchedItem::fromUserTitle(), LogPage::getContent(), PageHistory::history(), ImagePage::imageLinks(), importPage(), importUser(), Phase2Importer::importWatchlists(), indexShowChunk(), indexShowline(), initialiseMessages(), Block::insert(), LinkCache::linksccClearBrokenLinksTo(), LinksUpdate::LinksUpdate(), Block::load(), DifferenceEngine::loadText(), Profiler::logToDB(), Database::makeList(), Image::nextHistoryLine(), page2xml(), SearchEngine::parseQuery(), populatedata(), rebuildLinkTables(), rebuildRecentChangesTablePass2(), refreshLinks(), MathRenderer::render(), ImagePage::revert(), RecentChange::save(), LogPage::saveContent(), LinkCache::saveToLinkscc(), Database::set(), UndeleteForm::showHistory(), BookSourceList::showList(), UndeleteForm::showRevision(), UndeleteForm::undelete(), wfImportOldRevision(), wfRecordUpload(), wfSpecialContributions(), wfSpecialDisambiguations(), wfSpecialImagelist(), wfSpecialMispeelings(), and wfSpecialWhatlinkshere().

wfTimestamp2Unix ts  ) 
 

Definition at line 299 of file importUseModWiki.php.

Referenced by OutputPage::checkLastModified(), AtomFeed::formatTime(), RSSFeed::formatTime(), Block::getAutoblockExpiry(), and testTimestamp().

wfTimestampNow  ) 
 

Definition at line 307 of file importUseModWiki.php.

wfUnix2Timestamp unixtime  ) 
 

Definition at line 295 of file importUseModWiki.php.

Referenced by OutputPage::checkLastModified(), IPBlockForm::doSubmit(), CacheManager::fileCacheTime(), AncientPagesPage::formatResult(), Block::getAutoblockExpiry(), importPage(), testTimestamp(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), and wfSpecialWatchlist().

wfUtf8Sequence codepoint  ) 
 

Definition at line 269 of file importUseModWiki.php.

References check.

Referenced by wfMungeToUtf8().


Variable Documentation

$conversiontime = wfTimestampNow()
 

Definition at line 28 of file importUseModWiki.php.

$FS = $wgFieldSeparator
 

Definition at line 23 of file importUseModWiki.php.

$FS1 = $FS."1"
 

Definition at line 24 of file importUseModWiki.php.

$FS2 = $FS."2"
 

Definition at line 25 of file importUseModWiki.php.

$FS3 = $FS."3"
 

Definition at line 26 of file importUseModWiki.php.

$usercache = array()
 

Definition at line 29 of file importUseModWiki.php.

$wgFieldSeparator = "\xb3"
 

Definition at line 22 of file importUseModWiki.php.

$wgImportEncoding = "CP1252"
 

Definition at line 18 of file importUseModWiki.php.

Referenced by recodeText().

$wgRootDirectory = "/home/usemod/wiki-ia/lib-http/db/wiki"
 

Definition at line 19 of file importUseModWiki.php.


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