MediaWiki fundraising/REL1_35
rebuild.php File Reference

Go to the source code of this file.

Classes

class  CLDRRebuild
 

Functions

 getRealCode ( $code)
 Get the code for the MediaWiki localisation, these are same as the fallback.
 

Variables

 $IP = "$dir/../.."
 
 $maintClass = CLDRRebuild::class
 
if(getenv( 'MW_INSTALL_PATH') !==false) else
 Extract data from cldr XML.
 

Function Documentation

◆ getRealCode()

getRealCode ( $code)

Get the code for the MediaWiki localisation, these are same as the fallback.

Parameters
string$code
Returns
string

Definition at line 118 of file rebuild.php.

Referenced by CLDRRebuild\execute().

Variable Documentation

◆ $IP

$IP = "$dir/../.."

Definition at line 19 of file rebuild.php.

Referenced by CommandLineInstaller\__construct(), ApiQuerySiteinfo\appendGeneralInfo(), ApiQuerySiteinfo\appendInstalledLibraries(), AutoLoader\autoload(), MysqlUpdater\doInterwikiUpdate(), Installer\envCheckUploadsDirectory(), Installer\envPrepPath(), SpecialVersion\execute(), CheckComposerLockUpToDate\execute(), CheckLess\execute(), CleanupSpam\execute(), DumpUploads\execute(), FindDeprecated\execute(), GenerateJsonI18n\execute(), GenerateSchemaSql\execute(), CommandLineInstaller\execute(), DateFormats\execute(), GenerateNormalizerDataAr\execute(), GenerateNormalizerDataMl\execute(), ManageForeignResources\execute(), GeneratePhpCharToUpperMappings\execute(), MWDocGen\execute(), MwSql\execute(), ResourceLoaderModule\expandRelativePaths(), ResourceLoaderFileModule\extractBasePaths(), ResourceLoaderImageModule\extractLocalBasePath(), ResourceLoaderOOUIIconPackModule\extractLocalBasePath(), IcuCollation\fetchFirstLetterData(), GenerateCollationData\generateFirstChars(), GitInfo\getCacheFilePath(), SiteConfiguration\getConfig(), SpecialVersion\getCreditsForExtension(), Installer\getExistingLocalSettings(), SpecialVersion\getExternalLibraries(), FindDeprecated\getFiles(), SqliteInstaller\getGlobalDefaults(), MediaWiki\Languages\LanguageNameUtils\getJsonMessagesFileName(), LocalisationCache\getMessagesDirs(), MediaWiki\Languages\LanguageNameUtils\getMessagesFileName(), ApiBase\getModuleSourceInfo(), InstallerOverrides\getOverrides(), ResourceLoaderModule\getRelativePaths(), SkinFallback\getSnippetForSkin(), DatabaseInstaller\getSqlFilePath(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinkedGit(), File\iconThumb(), Installer\includeExtensionFiles(), MWDocGen\init(), ExternalStoreDB\initializeTable(), LocalisationCache\loadPluralFiles(), Maintenance\loadSettings(), LanguageAr\normalize(), LanguageMl\normalize(), Language\normalize(), ComposerPhpunitXmlCoverageEdit\onEvent(), TextPassDumper\openSpawn(), DatabaseUpdater\patchPath(), DatabaseInstaller\populateInterwikiTable(), MergeMessageFileList\readFile(), LocalisationCache\readSourceFilesAndRegisterDeps(), DonationInterface\registerExtension(), GitInfo\repo(), Maintenance\setup(), SqliteInstaller\setupSearchIndex(), OutputPage\transformResourcePath(), Language\transformUsingPairFile(), and wfGetPrecompiledData().

◆ $maintClass

$maintClass = CLDRRebuild::class

Definition at line 141 of file rebuild.php.

Referenced by Maintenance\runChild().

◆ else

if (getenv('MW_INSTALL_PATH') !==false) else
Initial value:
{
$dir = __DIR__

Extract data from cldr XML.

Author
Niklas Laxström
Ryan Kaldari
Santhosh Thottingal
Sam Reed
Note
Copyright © 2007-2015
GPL-2.0-or-later

Definition at line 17 of file rebuild.php.