Go to the source code of this file.
Classes | |
class | CheckLanguageCLI |
Variables | |
if(count($detailTextForLangChecks)) if(!$problems) | $language = $wgContLang->getLanguageName( $code ) |
$rows [] = "| $language || $code || $problems || " . implode( ' || ', $numbers ) | |
$tableRows = implode( "\n|-\n", $rows ) | |
$version = SpecialVersion::getVersion( $IP ) | |
echo<<< EOL'''Check results are for:'''< code > $version </code >{|class="sortable wikitable"border="2"cellpadding="4"cellspacing="0"style="background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear: both;"$tableRows|}$detailTextEOL;}protected function isEmpty(){foreach($this-> results as | $code |
echo<<<EOL'''Check results are for:''' <code>$version</code>{| class="sortable wikitable" border="2" cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear: both;"$tableRows|}$detailTextEOL; } protected function isEmpty() { foreach( $this-> results as $code |
Initial value:
> $results ) { foreach( $results as $check => $messages ) { if( !empty( $messages ) ) { return false; } } } return true
Definition at line 440 of file checkLanguage.inc.
Referenced by ApiQueryBacklinks::__construct(), UsageException::__construct(), StubUserLang::_newObject(), Language::addMagicWordsByLang(), EmailConfirmation::attemptConfirm(), EmailInvalidation::attemptInvalidate(), SkinTemplate::buildContentActionUrls(), SkinMonoBookCBT::ca_variant(), MessageCache::clear(), ZhClient::convertToAllVariants(), EmailInvalidation::execute(), EmailConfirmation::execute(), InstallerResource::extract(), SkinMonoBookCBT::extratabs(), Language::factory(), SVNInstallerResource::fetch(), Language::firstChar(), MessageCache::get(), languages::getCaseMismatchMagicWords(), Language::getClassFileName(), languages::getDuplicateMessages(), languages::getEmptyMessages(), Language::getFallbackFor(), Language::getFileName(), Language::getLanguageName(), Language::getLanguageNames(), Language::getLocalisationArray(), languages::getMagicWords(), Language::getMessageFor(), languages::getMessages(), Language::getMessagesFileName(), Language::getMessagesFor(), languages::getMessagesWithDubiousLinks(), languages::getMessagesWithMismatchVariables(), languages::getMessagesWithoutPlural(), languages::getMessagesWithUnbalanced(), languages::getMessagesWithWhitespace(), languages::getMessagesWithWrongChars(), MessageCache::getMsgFromNamespace(), languages::getNamespaceAliases(), languages::getNamespaceNames(), languages::getNonXHTMLMessages(), languages::getObsoleteMagicWords(), languages::getObsoleteMessages(), languages::getObsoleteSpecialPages(), languages::getOverridingMagicWords(), languages::getProblematicProjectTalks(), languages::getSpecialPageAliases(), Language::getSpecialPageAliases(), languages::getUntranslatedMagicWords(), languages::getUntranslatedMessages(), languages::getUntranslatedNamespaces(), languages::getUntraslatedSpecialPages(), Services_JSON::isError(), Xml::languageSelector(), MessageCache::load(), extensionLanguages::loadFile(), languages::loadFile(), MessageCache::loadFromDB(), MessageCache::loadFromLocal(), Language::loadLocalisation(), languages::loadMessages(), MessageCache::loadMessagesFile(), PreferencesForm::mainPrefsForm(), Language::newFromCode(), User::newFromConfirmationCode(), LanguageConverter::parseCachedTable(), SVNInstallerRepository::printListing(), LoginForm::processLogin(), rebuildLanguage(), MessageCache::replace(), DbTestPreviewer::report(), MessageCache::saveToCaches(), MessageCache::setCache(), Language::setCode(), AjaxResponse::setResponseCode(), Language::sprintfDate(), variantLinks(), and MessageWriter::writeMessagesToFile().
$rows[] = "| $language || $code || $problems || " . implode( ' || ', $numbers ) |
Definition at line 416 of file checkLanguage.inc.
Referenced by Job::batchInsert(), EditPage::blockedPage(), DatabasePostgres::constraintExists(), do_page_random_update(), do_schema_restructuring(), doBeforeContent(), DatabasePostgres::estimateRowCount(), DatabaseMssql::estimateRowCount(), DatabaseIbm_db2::estimateRowCount(), Database::estimateRowCount(), SpecialRecentChanges::execute(), ChangesFeed::execute(), SpecialRecentChanges::filterByCategories(), ChangesFeed::generateFeed(), DatabasePostgres::initial_setup(), SpecialSearch::namespaceTables(), SpecialSearchOld::powerSearchBox(), DatabasePostgres::replace(), DatabaseOracle::replace(), DatabaseMssql::replace(), DatabaseIbm_db2::replace(), Database::replace(), DatabasePostgres::setup_plpgsql(), WhatLinksHerePage::showIndirectLinks(), Xml::textarea(), DatabasePostgres::triggerExists(), WatchlistEditor::watchTitles(), and SpecialRecentChanges::webOutput().
$tableRows = implode( "\n|-\n", $rows ) |
Definition at line 419 of file checkLanguage.inc.
$version = SpecialVersion::getVersion( $IP ) |
Definition at line 421 of file checkLanguage.inc.
Referenced by IEContentAnalyzer::__construct(), do_postgres_updates(), SpecialVersion::extensionCredits(), SpecialVersion::formatCredits(), IEContentAnalyzer::getDataFormat(), RdfMetaData::getKnownLicenses(), IEContentAnalyzer::getMimesFromData(), IEContentAnalyzer::getMimeTypeForVersion(), SpecialVersion::getVersion(), SpecialVersion::getVersionLinked(), wikiStatsOutput::heading(), DatabasePostgres::initial_setup(), Database::open(), ImageCleanup::pokeFile(), Preprocessor_Hash::preprocessToObj(), Preprocessor_DOM::preprocessToObj(), IEContentAnalyzer::sampleData(), and OutputPage::versionRequired().