MediaWiki  REL1_19
checkLanguage.inc File Reference

Helper class for checkLanguage.php script. More...

Go to the source code of this file.

Classes

class  CheckExtensionsCLI
class  CheckLanguageCLI

Functions

 isEmpty ()
 Check if there are any results for the checks, in any language.

Variables

 $checkBlacklist
if(count($detailTextForLangChecks))
if(!$problems) 
$language = $wgContLang->getLanguageName( $code )
 $rows [] = "| $language || $code || $problems || " . implode( ' || ', $numbers )
 $tableRows = implode( "\n|-\n", $rows )
 $version = SpecialVersion::getVersion( 'nodb' )
 echo

Detailed Description

Helper class for checkLanguage.php script.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file checkLanguage.inc.


Function Documentation

isEmpty ( ) [protected]

Check if there are any results for the checks, in any language.

Returns:
True if there are any results, false if not.

Definition at line 467 of file checkLanguage.inc.


Variable Documentation

$checkBlacklist

Definition at line 677 of file checkLanguage.inc.

if (count($detailTextForLangChecks)) if (!$problems) $language = $wgContLang->getLanguageName( $code )
$tableRows = implode( "\n|-\n", $rows )

Definition at line 447 of file checkLanguage.inc.

Definition at line 460 of file checkLanguage.inc.

Referenced by CheckLanguageCLI\__construct(), TrackBlobs\__construct(), ParserTest\__construct(), TableDiffFormatter\_added(), DiffFormatter\_changed(), TableDiffFormatter\_changed(), TableDiffFormatter\_context(), TableDiffFormatter\_deleted(), DiffFormatter\_lines(), DiffFormatter\_start_block(), TableDiffFormatter\_start_block(), benchmarkTest(), wikiStatsOutput\blockend(), textStatsOutput\blockend(), csvStatsOutput\blockend(), wikiStatsOutput\blockstart(), MonoBookTemplate\cactions(), CheckStorage\check(), UserDupes\checkDupes(), TrackBlobs\checkIntegrity(), MediaWiki\checkMaxLag(), codepointToUtf8(), RecompressTracked\critical(), MonoBookTemplate\customBox(), WebRequest\doSecurityRedirect(), DatabaseInstaller\doUpgrade(), DjVuImage\dump(), DjVuImage\dumpForm(), ConfEditor\dumpTokens(), wikiStatsOutput\element(), textStatsOutput\element(), csvStatsOutput\element(), MWExceptionHandler\escapeEchoAndDie(), BenchmarkDeleteTruncate\execute(), UserloginTemplate\execute(), PurgeParserCache\execute(), StorageTypeStats\execute(), UsercreateTemplate\execute(), DatabaseLag\execute(), UpdateLogging\execute(), MergeMessageFileList\execute(), ModernTemplate\execute(), PPFuzzTester\execute(), ChangesFeed\execute(), MonoBookTemplate\execute(), VectorTemplate\execute(), LegacyTemplate\execute(), WebInstaller\execute(), ApiMain\executeActionWithErrorHandling(), TrackBlobs\findOrphanBlobs(), WebInstallerOutput\flush(), wikiStatsOutput\footer(), ForkController\forkWorkers(), ParserTest\fuzzTest(), GenerateNormalizerData\generateArabic(), GenerateNormalizerData\generateMalayalam(), wikiStatsOutput\heading(), QuickTemplate\html(), CheckStorage\importRevision(), RecompressTracked\info(), ApiFormatBase\initPrinter(), QuickTemplate\jstext(), MonoBookTemplate\languageBox(), SeleniumTester\listBrowsers(), EditPage\livePreview(), JSMinPlus\min(), QuickTemplate\msg(), BaseTemplate\msg(), QuickTemplate\msgHtml(), BaseTemplate\msgHtml(), QuickTemplate\msgWiki(), BaseTemplate\msgWiki(), my_assert(), WikiImporter\notice(), RawAction\onView(), DatabaseUpdater\output(), WebInstallerOutput\outputFooter(), WebInstallerOutput\outputHeader(), WebInstallerOutput\outputShortHeader(), WebInstallerOutput\outputTitle(), ChannelFeed\outXmlHeader(), StreamFile\prepareForStream(), MWExceptionHandler\printError(), SkinTemplate\printOrError(), ApiFormatBase\printText(), PurgeRedundantText(), purgeStaleMemcachedText(), removeDupes(), VectorTemplate\renderNavigation(), VectorTemplate\renderPortal(), VectorTemplate\renderPortals(), DBConnectionError\reportHTML(), MWException\reportHTML(), ParserTest\requireFunctionHook(), ParserTest\requireHook(), ResourceLoader\respond(), CheckStorage\restoreText(), ParserTest\runTestsFromFiles(), MonoBookTemplate\searchBox(), showDiffs(), CliInstaller\showError(), CliInstaller\showMessage(), PurgeParserCache\showProgress(), CliInstaller\showStatusMessage(), showUsage(), BackupReader\skippedNamespace(), ForkController\start(), DbTestRecorder\start(), SeleniumTester\startServer(), SeleniumServerManager\startServerOnUnix(), SeleniumTester\stopServer(), UpdateLogging\sync(), QuickTemplate\text(), MonoBookTemplate\toolbox(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), ResourceLoader\tryRespondFromFileCache(), wfCountDown(), wfOut(), wfPHPVersionError(), wfThumbError(), SeleniumTestConsoleLogger\write(), MessageWriter\writeMessagesToFile(), and CleanUpTest\XtestAllChars().