MediaWiki  REL1_24
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 97 of file UtfNormalGenerate.php.

$canonicalComp = array()

Definition at line 93 of file UtfNormalGenerate.php.

$canonicalDecomp = array()

Definition at line 92 of file UtfNormalGenerate.php.

$checkNFC = array()

Definition at line 43 of file UtfNormalGenerate.php.

$combiningClass = array()

Definition at line 94 of file UtfNormalGenerate.php.

$compat = 0

Definition at line 96 of file UtfNormalGenerate.php.

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

Definition at line 91 of file UtfNormalGenerate.php.

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

Definition at line 73 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 175 of file UtfNormalGenerate.php.

Referenced by DeletedContributionsPage\__construct(), SpecialRecentChanges\addModules(), ApiFormatTestBase\apiRequest(), benchmarkForm(), 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(), LanguageLa\convertGrammar(), SpecialRecentChanges\doHeader(), SpecialImport\doImport(), Xml\element(), lessc\evaluate(), SpecialListFiles\execute(), SpecialPreferences\execute(), SpecialUserlogout\execute(), SpecialSpecialpages\execute(), SpecialContributions\execute(), SpecialTags\execute(), MaintenanceFormatInstallDoc\execute(), SpecialExport\execute(), SpecialUnblock\execute(), SpecialListGroupRights\execute(), SpecialJavaScriptTest\execute(), SpecialBlockList\execute(), SpecialPrefixindex\execute(), SpecialVersion\execute(), SpecialEditWatchlist\execute(), UserrightsPage\execute(), LinkSearchPage\execute(), FileDuplicateSearchPage\execute(), SpecialEmailUser\execute(), GetConfiguration\execute(), SpecialEditWatchlist\executeViewEditWatchlist(), 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(), MovePageForm\getGroupName(), ResourceLoaderStartUpModule\getModuleRegistrations(), Skin\getNewtalks(), UsersPager\getPageHeader(), SpecialVersion\getParserFunctionHooks(), SpecialVersion\getParserTags(), ResourceLoaderStartUpModule\getScript(), SpecialVersion\getSkinCredits(), 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(), SpecialSpecialpages\outputPageList(), ImageQueryPage\outputResults(), SpecialEditWatchlist\outputSubtitle(), lessc_parser\parenValue(), lessc\parse(), Message\parseText(), lessc_parser\peek(), UtfNormal\placebo(), SpecialBlock\postText(), ImagePage\printSharedImageText(), SearchHighlighter\process(), UserMailer\quotedPrintable(), randomString(), lessc\reduce(), lessc_parser\removeComments(), ApiMain\sendCacheHeaders(), DeleteAction\show(), EditAction\show(), ProtectAction\show(), SpecialUndelete\showFileConfirmationForm(), SpecialImport\showForm(), SpecialBlockList\showList(), MovePageForm\showLogFragment(), SpecialSearch\showMatches(), SpecialPrefixindex\showPrefixChunk(), EmailConfirmation\showRequestForm(), SpecialVersion\softwareInformation(), lessc_parser\string(), Skin\subPageSubtitle(), ChangeTags\tagUsageStatistics(), ParserMethodsTest\testGetSections(), ApiRevisionDeleteTest\testHidingRevisions(), OutputPageTest\testMakeResourceLoaderLink(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), ApiRevisionDeleteTest\testUnhidingOutput(), lessc_parser\to(), lessc\toHSL(), lessc\toRGB(), lessc\tryImport(), Sanitizer\validateAttributes(), Article\viewRedirect(), wfHtmlValidationHandler(), wfMergeErrorArrays(), XmlDumpWriter\writeContributor(), and XmlDumpWriter\writeUploads().

$pass = 1

Definition at line 139 of file UtfNormalGenerate.php.

Referenced by CommandLineInstaller\execute().

$total = 0

Definition at line 95 of file UtfNormalGenerate.php.

if(PHP_SAPI!= 'cli')

Definition at line 28 of file UtfNormalGenerate.php.

print Recursively expanding canonical mappings n