MediaWiki
REL1_19
|
This script generates Utf8Case.php from the Unicode Character Database and supplementary files. More...
Go to the source code of this file.
Variables | |
$in = fopen("UnicodeData.txt", "rt" ) | |
$out = fopen("Utf8Case.php", "wt") | |
$wikiLowerChars = array() | |
if(!$in) | $wikiUpperChars = array() |
if (php_sapi_name()!= 'cli') | |
print Reading character definitions | n |
This script generates Utf8Case.php from the Unicode Character Database and supplementary files.
Copyright © 2004,2008 Brion Vibber <[email protected]> http://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 Utf8CaseGenerate.php.
$in = fopen("UnicodeData.txt", "rt" ) |
Definition at line 35 of file Utf8CaseGenerate.php.
Referenced by LanguageLa\convertGrammar(), Exif\debug(), SiteConfiguration\doReplace(), ParserTestParserHook\dumpHook(), textStatsOutput\element(), csvStatsOutput\element(), Xml\escapeTagsOnly(), LanguageEo\iconv(), Language\iconv(), Exif\isASCII(), Exif\isByte(), Exif\isLong(), Exif\isRational(), Exif\isShort(), Exif\isSlong(), Exif\isSrational(), Exif\isUndefined(), ParserTestParserHook\staticTagHook(), and ExtraParserTest\testCleanSigInSig().
$out = fopen("Utf8Case.php", "wt") |
Definition at line 63 of file Utf8CaseGenerate.php.
Referenced by LoginForm\addNewAccount(), LoginForm\addNewAccountMailPassword(), UploadForm\addUploadJS(), ApiFormatTestBase\apiRequest(), SiteConfiguration\arrayMerge(), benchmarkForm(), SkinTemplate\buildContentNavigationUrls(), AllmessagesTablePager\buildForm(), ProtectionForm\buildForm(), SkinTemplate\buildNavUrls(), ProtectionForm\buildSelector(), ImportReporter\close(), FormOptions\consumeValues(), SpecialContributions\contributionsSub(), LanguageLa\convertGrammar(), LoginForm\displaySuccessfulLogin(), SpecialRecentChanges\doHeader(), SpecialImport\doImport(), MovePageForm\doSubmit(), Parser\doTableStuff(), ConfEditor\dumpTokens(), ConfEditor\edit(), Xml\element(), MaintenanceFormatInstallDoc\execute(), SpecialJavaScriptTest\execute(), SpecialEditWatchlist\execute(), SpecialPreferences\execute(), SpecialUserlogout\execute(), SpecialSpecialpages\execute(), SpecialUnblock\execute(), SpecialContributions\execute(), SpecialTags\execute(), SpecialExport\execute(), SpecialPrefixindex\execute(), SpecialBlockList\execute(), SpecialChangeEmail\execute(), SpecialListGroupRights\execute(), LinkSearchPage\execute(), SpecialAllmessages\execute(), SpecialWhatLinksHere\execute(), SpecialVersion\execute(), SpecialAllpages\execute(), UserrightsPage\execute(), SpecialSearch\execute(), SpecialEmailUser\execute(), FileDuplicateSearchPage\execute(), SpecialNewpages\execute(), SpecialActiveUsers\execute(), DeletedContributionsPage\execute(), QueryPage\execute(), SpecialUndelete\execute(), PPFrame_Hash\expand(), PPFrame_DOM\expand(), Xml\expandAttributes(), LegacyTemplate\extensionTabLinks(), UtfNormal\fastCombiningSort(), UtfNormal\fastCompose(), UtfNormal\fastDecompose(), ProfilerSimpleText\format(), FormatMetadata\formatNum(), BrokenRedirectsPage\formatResult(), SpecialSearch\formHeader(), Skin\getCategories(), Skin\getCategoryLinks(), Skin\getCopyrightIcon(), SpecialVersion\getExtensionCategory(), SpecialVersion\getExtensionCredits(), ResourceLoaderStartUpModule\getModuleRegistrations(), Skin\getNewtalks(), ActiveUsersPager\getPageHeader(), UsersPager\getPageHeader(), ResourceLoaderStartUpModule\getScript(), DeletedContributionsPage\getSubTitle(), LanguageEo\iconv(), Language\iconv(), SpecialJavaScriptTest\initQUnitTesting(), LoginForm\mainLoginForm(), ResourceLoader\makeCombinedStyles(), ResourceLoader\makeModuleResponse(), Parser\markerSkipCallback(), Sanitizer\mergeAttributes(), JavaScriptMinifier\minify(), SpecialAllpages\namespaceForm(), SpecialPrefixindex\namespacePrefixForm(), SearchMySQL\normalizeText(), SpecialUnlockdb\onSuccess(), SpecialLockdb\onSuccess(), SpecialBlock\onSuccess(), RollbackAction\onView(), HistoryAction\onView(), SpecialVersion\openExtType(), XmlDumpWriter\openPage(), Maintenance\output(), SkinTemplate\outputPage(), SpecialSpecialpages\outputPageList(), ImageQueryPage\outputResults(), QueryPage\outputResults(), Installer\parse(), DiffHistoryBlob\patch(), UtfNormal\placebo(), SpecialBlock\postText(), SpecialChangeEmail\pretty(), SpecialChangePassword\pretty(), SearchHighlighter\process(), UserMailer\quotedPrintable(), randomString(), LanguageConverter\recursiveConvertTopLevel(), DifferenceEngine\renderNewRevision(), ParserTest\runTest(), ApiMain\sendCacheHeaders(), Action\setHeaders(), SpecialPage\setHeaders(), SpecialSearch\setupPage(), SpecialSearch\shortDialog(), SpecialAllpages\showChunk(), DifferenceEngine\showDiffPage(), SpecialUndelete\showFileConfirmationForm(), MovePageForm\showForm(), SpecialImport\showForm(), SpecialRevisionDelete\showForm(), SpecialMergeHistory\showHistory(), SpecialUndelete\showHistory(), SpecialWhatLinksHere\showIndirectLinks(), SpecialSearch\showInterwiki(), SpecialSearch\showInterwikiHit(), SpecialAllpages\showline(), SpecialBlockList\showList(), SpecialUndelete\showList(), ProtectionForm\showLogExtract(), MovePageForm\showLogFragment(), SpecialSearch\showMatches(), SpecialPrefixindex\showPrefixChunk(), EmailConfirmation\showRequestForm(), SpecialSearch\showResults(), SpecialUndelete\showRevision(), SpecialUndelete\showSearchForm(), MovePageForm\showSubpages(), ParserTest\showTestResult(), SpecialAllpages\showToplevel(), SpecialVersion\softwareInformation(), Skin\subPageSubtitle(), ExtraParserTest\testCleanSigInSig(), NewParserTest\testParserTest(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), SpecialUndelete\undelete(), LoginForm\userBlockedMessage(), Sanitizer\validateAttributes(), PPFrame_Hash\virtualBracketedImplode(), PPFrame_DOM\virtualBracketedImplode(), PPFrame_Hash\virtualImplode(), PPFrame_DOM\virtualImplode(), wfArrayMerge(), wfHtmlValidationHandler(), wfMergeErrorArrays(), SeleniumTestConsoleLogger\write(), SeleniumTestHTMLLogger\write(), XmlDumpWriter\writeContributor(), XmlDumpWriter\writeLogItem(), XmlDumpWriter\writeRevision(), and XmlDumpWriter\writeUploads().
$wikiLowerChars = array() |
Definition at line 43 of file Utf8CaseGenerate.php.
if (!$in) $wikiUpperChars = array() |
Definition at line 42 of file Utf8CaseGenerate.php.
if(php_sapi_name()!= 'cli') |
Definition at line 28 of file Utf8CaseGenerate.php.
Definition at line 45 of file Utf8CaseGenerate.php.
Referenced by WikiDiff3\diff(), WikiDiff3\diff_range(), PostgresField\fromText(), CheckLanguageCLI\help(), and SideBarTest\testTrickyPipe().