Go to the source code of this file.
Functions | |
testLine ($test, $line, &$total, &$success, &$failed) | |
Variables | |
if(php_sapi_name()!= 'cli') | $in = fopen( "UTF-8-test.txt", "rt" ) |
if(!$in) | $columns = 0 |
while(false!==($line=fgets($in))) if(!$columns) | $ignore |
$exceptions | |
$longTests | |
$sectionTests = array( '3.4' ) | |
$section = null | |
$test = '' | |
$failed = 0 | |
$success = 0 | |
$total = 0 | |
while(false!==($line=fgets($in))) | if ($failed) |
testLine | ( | $ | test, | |
$ | line, | |||
&$ | total, | |||
&$ | success, | |||
&$ | failed | |||
) |
if (!$in) $columns = 0 |
Definition at line 46 of file Utf8Test.php.
Referenced by CategoryViewer::columnList(), UserrightsPage::groupCheckboxes(), and testLine().
$exceptions |
Initial value:
array( # Tests that should mark invalid characters due to using long # sequences beyond what is now considered legal. '2.1.5', '2.1.6', '2.2.4', '2.2.5', '2.2.6', '2.3.5', # Literal 0xffff, which is illegal '2.2.3' )
Definition at line 68 of file Utf8Test.php.
Referenced by testLine(), and wfIsBadImage().
$failed = 0 |
Definition at line 86 of file Utf8Test.php.
Referenced by TestRecorder::reportPercentage(), and testLine().
while (false!==($line=fgets($in))) if (!$columns) $ignore |
Initial value:
array( # These two lines actually seem to be corrupt '2.1.1', '2.2.1' )
Definition at line 64 of file Utf8Test.php.
Referenced by DatabasePostgres::insert(), DatabaseMssql::insert(), DatabaseIbm_db2::insert(), DatabasePostgres::insertSelect(), DatabasePostgres::reportQueryError(), and DatabaseBase::reportQueryError().
if (php_sapi_name()!= 'cli') $in = fopen( "UTF-8-test.txt", "rt" ) |
Definition at line 38 of file Utf8Test.php.
$longTests |
Initial value:
array( # These tests span multiple lines '3.1.9', '3.2.1', '3.2.2', '3.2.3', '3.2.4', '3.2.5', '3.4' )
Definition at line 76 of file Utf8Test.php.
$section = null |
Definition at line 84 of file Utf8Test.php.
Referenced by LBFactory_Multi::__construct(), ParserOutput::addHeadItem(), SkinTemplate::buildContentActionUrls(), SkinVector::buildNavigationUrls(), Linker::doEditSectionLink(), Linker::editSectionLink(), Linker::editSectionLinkForOther(), VectorTemplate::execute(), ApiEditPage::execute(), Parser::extractSections(), fetchKeptPages(), fetchPage(), Linker::formatAutocommentsCallback(), Linker::formatTemplates(), Linker::generateTOC(), LBFactory_Multi::getMainLB(), Parser::getSection(), Article::getSection(), LBFactory_Multi::getSectionForWiki(), Parser::mergeSectionTrees(), LBFactory_Multi::newMainLB(), MediaWiki::performAction(), TestFileIterator::readNextTest(), Parser::replaceSection(), Article::replaceSection(), ParserTest::runTest(), and SpecialSearch::showHit().
$sectionTests = array( '3.4' ) |
Definition at line 82 of file Utf8Test.php.
$success = 0 |
Definition at line 87 of file Utf8Test.php.
Referenced by MediaWiki::doJobs(), DBUnlockForm::doSubmit(), MovePageForm::doSubmit(), IPUnblockForm::doSubmit(), Protect::execute(), DeleteBatch::execute(), ApiWatch::execute(), FSRepo::freeTemp(), Title::invalidateCache(), MessageCache::load(), Block::loadRange(), Linker::makeExternalImage(), Linker::makeExternalLink(), Title::moveSubpages(), ApiMove::moveSubpages(), DatabaseMysql::open(), DatabaseMssql::open(), LoadBalancer::pingAll(), FSRepo::publishBatch(), WatchedItem::removeWatch(), TestRecorder::reportPercentage(), MessageCache::saveToCaches(), testLine(), UploadFromStash::unsaveUploadedFile(), and SpecialUpload::unsaveUploadedFile().
$test = '' |
Definition at line 85 of file Utf8Test.php.
Referenced by ImageCleanup::buildSafeTitle(), install_version_checks(), RemoteTestRecorder::record(), DbTestRecorder::record(), DbTestPreviewer::record(), DbTestPreviewer::report(), MediaWikiParserTestSuite::suite(), and testLine().
$total = 0 |
Definition at line 88 of file Utf8Test.php.
Referenced by CheckStorage::check(), LocalFileMoveBatch::doDBUpdates(), ReassignEdits::doReassignEdits(), CacheStats::execute(), RebuildLocalisationCache::execute(), CountMessages::execute(), DeleteImageCache::execute(), wikiStatsOutput::formatPercent(), statsOutput::formatPercent(), Profiler::getFunctionReport(), TestRecorder::reportPercentage(), SearchSqlite::searchInternal(), SearchMySQL::searchInternal(), testLine(), and wfSpecialSpecialpages().
while (false!==($line=fgets($in))) if($failed) |
Definition at line 113 of file Utf8Test.php.