MediaWiki  REL1_23
UtfNormalGenerate.php File Reference

This script generates UniNormalData.inc from the Unicode Character Database and supplementary files. More...

Go to the source code of this file.

Variables

 $canon = 0
 $canonicalComp = array()
 $canonicalDecomp = array()
 $changed = 42
 $checkNFC = array()
 $combiningClass = array()
 $compat = 0
if(!$in$compatibilityDecomp = array()
if(!$in$exclude = array()
 $in = fopen("DerivedNormalizationProps.txt", "rt" )
 $out = fopen("UtfNormalData.inc", "wt")
 $pass = 1
 $total = 0
 if (PHP_SAPI!= 'cli')
if(!$in) print Initializing
normalization quick check
tables 
n

Detailed Description

This script generates UniNormalData.inc from the Unicode Character Database and supplementary files.

Copyright (C) 2004 Brion Vibber <[email protected]> https://www.mediawiki.org/

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 UtfNormalGenerate.php.


Variable Documentation

$canon = 0

Definition at line 89 of file UtfNormalGenerate.php.

$canonicalComp = array()

Definition at line 85 of file UtfNormalGenerate.php.

$canonicalDecomp = array()

Definition at line 84 of file UtfNormalGenerate.php.

$checkNFC = array()

Definition at line 43 of file UtfNormalGenerate.php.

$combiningClass = array()

Definition at line 86 of file UtfNormalGenerate.php.

$compat = 0

Definition at line 88 of file UtfNormalGenerate.php.

if (!$in) $compatibilityDecomp = array()

Definition at line 83 of file UtfNormalGenerate.php.

if (!$in) $exclude = array()

Definition at line 65 of file UtfNormalGenerate.php.

Referenced by ApiQueryAllUsers\execute(), and MWDocGen\execute().

$in = fopen("DerivedNormalizationProps.txt", "rt" )

Definition at line 35 of file UtfNormalGenerate.php.

$out = fopen("UtfNormalData.inc", "wt")

Definition at line 167 of file UtfNormalGenerate.php.

Referenced by DeletedContributionsPage\__construct(), SpecialRecentChanges\addModules(), ApiFormatTestBase\apiRequest(), benchmarkForm(), SkinTemplate\buildContentNavigationUrls(), ProtectionForm\buildForm(), SkinTemplate\buildNavUrls(), ProtectionForm\buildSelector(), lessc\cachedCompile(), lessc\ccompile(), lessc\checkedCompile(), ImportReporter\close(), lessc_parser\color(), lessc\compile(), lessc\compileCSSBlock(), lessc\compileFile(), lessc\compileImportedProps(), lessc\compileMediaQuery(), lessc\compileProp(), lessc\compileProps(), lessc\compileSelectors(), FormOptions\consumeValues(), SpecialContributions\contributionsSub(), Title\convertByteClassToUnicodeClass(), LanguageLa\convertGrammar(), SpecialRecentChanges\doHeader(), SpecialImport\doImport(), MovePageForm\doSubmit(), ConfEditor\dumpTokens(), ConfEditor\edit(), Xml\element(), lessc\evaluate(), SpecialPreferences\execute(), SpecialUserlogout\execute(), SpecialSpecialpages\execute(), SpecialContributions\execute(), SpecialTags\execute(), MaintenanceFormatInstallDoc\execute(), SpecialExport\execute(), SpecialUnblock\execute(), SpecialBlockList\execute(), SpecialJavaScriptTest\execute(), SpecialListGroupRights\execute(), SpecialExpandTemplates\execute(), SpecialPrefixindex\execute(), SpecialVersion\execute(), SpecialEditWatchlist\execute(), UserrightsPage\execute(), LinkSearchPage\execute(), FileDuplicateSearchPage\execute(), SpecialEmailUser\execute(), GetConfiguration\execute(), Xml\expandAttributes(), lessc_parser\expression(), UtfNormal\fastCombiningSort(), UtfNormal\fastCompose(), UtfNormal\fastDecompose(), ProfilerSimpleText\format(), BrokenRedirectsPage\formatResult(), lessc_parser\genericList(), Skin\getCategories(), Skin\getCategoryLinks(), Skin\getCopyrightIcon(), SpecialVersion\getCreditsForExtension(), Skin\getDefaultModules(), SpecialVersion\getEntryPointInfo(), SpecialVersion\getExtensionCategory(), SpecialVersion\getExtensionCredits(), ResourceLoaderStartUpModule\getModuleRegistrations(), Skin\getNewtalks(), UsersPager\getPageHeader(), SpecialVersion\getParserFunctionHooks(), SpecialVersion\getParserTags(), ResourceLoaderStartUpModule\getScript(), Sanitizer\hackDocType(), LanguageEo\iconv(), lessc_parser\import(), SpecialJavaScriptTest\initQUnitTesting(), lessc_parser\interpolation(), ProfilerSimpleText\logData(), lessc_parser\match(), lessc_parser\mediaExpression(), lessc_parser\mediaQuery(), lessc_parser\mediaQueryList(), Sanitizer\mergeAttributes(), JavaScriptMinifier\minify(), lessc\multiplyMedia(), lessc\multiplySelectors(), SpecialPrefixindex\namespacePrefixForm(), SearchMySQL\normalizeText(), SpecialUnlockdb\onSuccess(), SpecialLockdb\onSuccess(), lessc\op_color_color(), SpecialVersion\openExtType(), lessc_parser\openString(), SpecialListGroupRights\outputNamespaceProtectionInfo(), SkinTemplate\outputPage(), SpecialSpecialpages\outputPageList(), ImageQueryPage\outputResults(), lessc_parser\parenValue(), lessc\parse(), DiffHistoryBlob\patch(), lessc_parser\peek(), UtfNormal\placebo(), SpecialBlock\postText(), SkinTemplate\prepareQuickTemplate(), SearchHighlighter\process(), UserMailer\quotedPrintable(), randomString(), lessc\reduce(), lessc_parser\removeComments(), ApiMain\sendCacheHeaders(), SpecialUndelete\showFileConfirmationForm(), SpecialImport\showForm(), SpecialMergeHistory\showHistory(), SpecialBlockList\showList(), ProtectionForm\showLogExtract(), MovePageForm\showLogFragment(), SpecialSearch\showMatches(), SpecialPrefixindex\showPrefixChunk(), EmailConfirmation\showRequestForm(), MovePageForm\showSubpages(), SpecialVersion\softwareInformation(), lessc_parser\string(), Skin\subPageSubtitle(), ChangeTags\tagUsageStatistics(), ParserMethodsTest\testGetSections(), NewParserTest\testParserTest(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), lessc_parser\to(), lessc\toHSL(), lessc\toRGB(), lessc\tryImport(), Sanitizer\validateAttributes(), PPFrame_DOM\virtualBracketedImplode(), wfArrayMerge(), wfHtmlValidationHandler(), and wfMergeErrorArrays().

$pass = 1

Definition at line 131 of file UtfNormalGenerate.php.

Referenced by CommandLineInstaller\execute().

$total = 0

Definition at line 87 of file UtfNormalGenerate.php.

if(PHP_SAPI!= 'cli')

Definition at line 28 of file UtfNormalGenerate.php.

print Recursively expanding canonical mappings n