diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 20:21:25 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 20:21:25 +0000 |
commit | d81f562b712f2387fa02290bf2ca86392ab356f2 (patch) | |
tree | d666cdefbe6ac320827a2c6cb473581b46e22c4c /serialized | |
parent | 183851b06bd6c52f3cae5375f433da720d410447 (diff) |
Aktualisierung auf Version 1.8.1
Diffstat (limited to 'serialized')
-rw-r--r-- | serialized/Makefile | 28 | ||||
-rw-r--r-- | serialized/README | 37 | ||||
-rw-r--r-- | serialized/Utf8Case.ser | 1 | ||||
-rw-r--r-- | serialized/serialize-localisation.php | 35 | ||||
-rw-r--r-- | serialized/serialize.php | 75 |
5 files changed, 176 insertions, 0 deletions
diff --git a/serialized/Makefile b/serialized/Makefile new file mode 100644 index 00000000..04a560df --- /dev/null +++ b/serialized/Makefile @@ -0,0 +1,28 @@ + +MESSAGE_SOURCES=$(wildcard ../languages/messages/Messages*.php) +MESSAGE_TARGETS=$(patsubst ../languages/messages/Messages%.php, Messages%.ser, $(MESSAGE_SOURCES)) +SPECIAL_TARGETS=Utf8Case.ser +ALL_TARGETS=$(MESSAGE_TARGETS) $(SPECIAL_TARGETS) +DIST_TARGETS=$(SPECIAL_TARGETS) \ + MessagesDe.ser \ + MessagesEn.ser \ + MessagesFr.ser \ + MessagesJa.ser \ + MessagesNl.ser \ + MessagesPl.ser \ + MessagesSv.ser + +.PHONY: all dist clean + +all: $(ALL_TARGETS) + +dist: $(DIST_TARGETS) + +clean: + rm -f $(ALL_TARGETS) + +Utf8Case.ser : ../includes/Utf8Case.php + php serialize.php -o $@ $< + +Messages%.ser : ../languages/messages/Messages%.php ../languages/messages/MessagesEn.php + php serialize-localisation.php -o $@ $< diff --git a/serialized/README b/serialized/README new file mode 100644 index 00000000..c02444c7 --- /dev/null +++ b/serialized/README @@ -0,0 +1,37 @@ +This directory contains data files in the format of PHP's serialize() function. +The source data are typically array literals in PHP source files. We have +observed that unserialize(file_get_contents(...)) is faster than executing such +a file from an oparray cache like APC, and very much faster than loading it by +parsing the source file without such a cache. It should also be faster than +loading the data across the network with memcached, as long as you are careful +to put your MediaWiki root directory on a local hard drive rather than on NFS. +This is a good idea for performance in any case. + +To generate all data files: + + cd /path/to/wiki/serialized + make + +This requires GNU Make. At present, the only serialized data file which is +strictly required is Utf8Case.ser. This contains UTF-8 case conversion tables, +which have essentially never changed since MediaWiki was invented. + +The Messages*.ser files are localisation files, containing user interface text +and various other data related to language-specific behaviour. Because they +are merged with the fallback language (usually English) before caching, they +are all quite large, about 100KB each at the time of writing. If you generate +all of them, they take up about 15 MB. Hence, I don't expect we will include +all of them in the release tarballs. However, to obtain optimum performance, +YOU SHOULD GENERATE ALL THE LOCALISATION FILES THAT YOU WILL BE USING ON YOUR +WIKIS. + +You can generate individual files by typing a command such as: + cd /path/to/wiki/serialized + make MessagesAr.ser + +If you change a Messages*.php source file, you must recompile any serialized +data files which are present. If you change MessagesEn.php, this will +invalidate *all* Messages*.ser files. + +I think we should distribute a few Messages*.ser files in the release tarballs, +specifically the ones created by "make dist". diff --git a/serialized/Utf8Case.ser b/serialized/Utf8Case.ser new file mode 100644 index 00000000..1398008e --- /dev/null +++ b/serialized/Utf8Case.ser @@ -0,0 +1 @@ +a:2:{s:14:"wikiUpperChars";a:745:{s:1:"a";s:1:"A";s:1:"b";s:1:"B";s:1:"c";s:1:"C";s:1:"d";s:1:"D";s:1:"e";s:1:"E";s:1:"f";s:1:"F";s:1:"g";s:1:"G";s:1:"h";s:1:"H";s:1:"i";s:1:"I";s:1:"j";s:1:"J";s:1:"k";s:1:"K";s:1:"l";s:1:"L";s:1:"m";s:1:"M";s:1:"n";s:1:"N";s:1:"o";s:1:"O";s:1:"p";s:1:"P";s:1:"q";s:1:"Q";s:1:"r";s:1:"R";s:1:"s";s:1:"S";s:1:"t";s:1:"T";s:1:"u";s:1:"U";s:1:"v";s:1:"V";s:1:"w";s:1:"W";s:1:"x";s:1:"X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:"Ẳ";s:3:"ẵ";s:3:"Ẵ";s:3:"ặ";s:3:"Ặ";s:3:"ẹ";s:3:"Ẹ";s:3:"ẻ";s:3:"Ẻ";s:3:"ẽ";s:3:"Ẽ";s:3:"ế";s:3:"Ế";s:3:"ề";s:3:"Ề";s:3:"ể";s:3:"Ể";s:3:"ễ";s:3:"Ễ";s:3:"ệ";s:3:"Ệ";s:3:"ỉ";s:3:"Ỉ";s:3:"ị";s:3:"Ị";s:3:"ọ";s:3:"Ọ";s:3:"ỏ";s:3:"Ỏ";s:3:"ố";s:3:"Ố";s:3:"ồ";s:3:"Ồ";s:3:"ổ";s:3:"Ổ";s:3:"ỗ";s:3:"Ỗ";s:3:"ộ";s:3:"Ộ";s:3:"ớ";s:3:"Ớ";s:3:"ờ";s:3:"Ờ";s:3:"ở";s:3:"Ở";s:3:"ỡ";s:3:"Ỡ";s:3:"ợ";s:3:"Ợ";s:3:"ụ";s:3:"Ụ";s:3:"ủ";s:3:"Ủ";s:3:"ứ";s:3:"Ứ";s:3:"ừ";s:3:"Ừ";s:3:"ử";s:3:"Ử";s:3:"ữ";s:3:"Ữ";s:3:"ự";s:3:"Ự";s:3:"ỳ";s:3:"Ỳ";s:3:"ỵ";s:3:"Ỵ";s:3:"ỷ";s:3:"Ỷ";s:3:"ỹ";s:3:"Ỹ";s:3:"ἀ";s:3:"Ἀ";s:3:"ἁ";s:3:"Ἁ";s:3:"ἂ";s:3:"Ἂ";s:3:"ἃ";s:3:"Ἃ";s:3:"ἄ";s:3:"Ἄ";s:3:"ἅ";s:3:"Ἅ";s:3:"ἆ";s:3:"Ἆ";s:3:"ἇ";s:3:"Ἇ";s:3:"ἐ";s:3:"Ἐ";s:3:"ἑ";s:3:"Ἑ";s:3:"ἒ";s:3:"Ἒ";s:3:"ἓ";s:3:"Ἓ";s:3:"ἔ";s:3:"Ἔ";s:3:"ἕ";s:3:"Ἕ";s:3:"ἠ";s:3:"Ἠ";s:3:"ἡ";s:3:"Ἡ";s:3:"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";s:4:"𐐂";s:4:"𐐫";s:4:"𐐃";s:4:"𐐬";s:4:"𐐄";s:4:"𐐭";s:4:"𐐅";s:4:"𐐮";s:4:"𐐆";s:4:"𐐯";s:4:"𐐇";s:4:"𐐰";s:4:"𐐈";s:4:"𐐱";s:4:"𐐉";s:4:"𐐲";s:4:"𐐊";s:4:"𐐳";s:4:"𐐋";s:4:"𐐴";s:4:"𐐌";s:4:"𐐵";s:4:"𐐍";s:4:"𐐶";s:4:"𐐎";s:4:"𐐷";s:4:"𐐏";s:4:"𐐸";s:4:"𐐐";s:4:"𐐹";s:4:"𐐑";s:4:"𐐺";s:4:"𐐒";s:4:"𐐻";s:4:"𐐓";s:4:"𐐼";s:4:"𐐔";s:4:"𐐽";s:4:"𐐕";s:4:"𐐾";s:4:"𐐖";s:4:"𐐿";s:4:"𐐗";s:4:"𐑀";s:4:"𐐘";s:4:"𐑁";s:4:"𐐙";s:4:"𐑂";s:4:"𐐚";s:4:"𐑃";s:4:"𐐛";s:4:"𐑄";s:4:"𐐜";s:4:"𐑅";s:4:"𐐝";s:4:"𐑆";s:4:"𐐞";s:4:"𐑇";s:4:"𐐟";s:4:"𐑈";s:4:"𐐠";s:4:"𐑉";s:4:"𐐡";s:4:"𐑊";s:4:"𐐢";s:4:"𐑋";s:4:"𐐣";s:4:"𐑌";s:4:"𐐤";s:4:"𐑍";s:4:"𐐥";}s:14:"wikiLowerChars";a:735:{s:1:"A";s:1:"a";s:1:"B";s:1:"b";s:1:"C";s:1:"c";s:1:"D";s:1:"d";s:1:"E";s:1:"e";s:1:"F";s:1:"f";s:1:"G";s:1:"g";s:1:"H";s:1:"h";s:1:"I";s:1:"i";s:1:"J";s:1:"j";s:1:"K";s:1:"k";s:1:"L";s:1:"l";s:1:"M";s:1:"m";s:1:"N";s:1:"n";s:1:"O";s:1:"o";s:1:"P";s:1:"p";s:1:"Q";s:1:"q";s:1:"R";s:1:"r";s:1:"S";s:1:"s";s:1:"T";s:1:"t";s:1:"U";s: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ṗ";s:3:"Ṙ";s:3:"ṙ";s:3:"Ṛ";s:3:"ṛ";s:3:"Ṝ";s:3:"ṝ";s:3:"Ṟ";s:3:"ṟ";s:3:"Ṡ";s:3:"ṡ";s:3:"Ṣ";s:3:"ṣ";s:3:"Ṥ";s:3:"ṥ";s:3:"Ṧ";s:3:"ṧ";s:3:"Ṩ";s:3:"ṩ";s:3:"Ṫ";s:3:"ṫ";s:3:"Ṭ";s:3:"ṭ";s:3:"Ṯ";s:3:"ṯ";s:3:"Ṱ";s:3:"ṱ";s:3:"Ṳ";s:3:"ṳ";s:3:"Ṵ";s:3:"ṵ";s:3:"Ṷ";s:3:"ṷ";s:3:"Ṹ";s:3:"ṹ";s:3:"Ṻ";s:3:"ṻ";s:3:"Ṽ";s:3:"ṽ";s:3:"Ṿ";s:3:"ṿ";s:3:"Ẁ";s:3:"ẁ";s:3:"Ẃ";s:3:"ẃ";s:3:"Ẅ";s:3:"ẅ";s:3:"Ẇ";s:3:"ẇ";s:3:"Ẉ";s:3:"ẉ";s:3:"Ẋ";s:3:"ẋ";s:3:"Ẍ";s:3:"ẍ";s:3:"Ẏ";s:3:"ẏ";s:3:"Ẑ";s:3:"ẑ";s:3:"Ẓ";s:3:"ẓ";s:3:"Ẕ";s:3:"ẕ";s:3:"Ạ";s:3:"ạ";s:3:"Ả";s:3:"ả";s:3:"Ấ";s:3:"ấ";s:3:"Ầ";s:3:"ầ";s:3:"Ẩ";s:3:"ẩ";s:3:"Ẫ";s:3:"ẫ";s:3:"Ậ";s:3:"ậ";s:3:"Ắ";s:3:"ắ";s:3:"Ằ";s:3:"ằ";s:3:"Ẳ";s:3:"ẳ";s:3:"Ẵ";s:3:"ẵ";s:3:"Ặ";s:3:"ặ";s:3:"Ẹ";s:3:"ẹ";s:3:"Ẻ";s:3:"ẻ";s:3:"Ẽ";s:3:"ẽ";s:3:"Ế";s:3:"ế";s:3:"Ề";s:3:"ề";s:3:"Ể";s:3:"ể";s:3:"Ễ";s:3:"ễ";s:3:"Ệ";s:3:"ệ";s:3:"Ỉ";s:3:"ỉ";s:3:"Ị";s:3:"ị";s:3:"Ọ";s:3:"ọ";s:3:"Ỏ";s:3:"ỏ";s:3:"Ố";s:3:"ố";s:3:"Ồ";s:3:"ồ";s:3:"Ổ";s:3:"ổ";s:3:"Ỗ";s:3:"ỗ";s:3:"Ộ";s:3:"ộ";s:3:"Ớ";s:3:"ớ";s:3:"Ờ";s:3:"ờ";s:3:"Ở";s:3:"ở";s:3:"Ỡ";s:3:"ỡ";s:3:"Ợ";s:3:"ợ";s:3:"Ụ";s:3:"ụ";s:3:"Ủ";s:3:"ủ";s:3:"Ứ";s:3:"ứ";s:3:"Ừ";s:3:"ừ";s:3:"Ử";s:3:"ử";s:3:"Ữ";s:3:"ữ";s:3:"Ự";s:3:"ự";s:3:"Ỳ";s:3:"ỳ";s:3:"Ỵ";s:3:"ỵ";s:3:"Ỷ";s:3:"ỷ";s:3:"Ỹ";s:3:"ỹ";s:3:"Ἀ";s:3:"ἀ";s:3:"Ἁ";s:3:"ἁ";s:3:"Ἂ";s:3:"ἂ";s:3:"Ἃ";s:3:"ἃ";s:3:"Ἄ";s:3:"ἄ";s:3:"Ἅ";s:3:"ἅ";s:3:"Ἆ";s:3:"ἆ";s:3:"Ἇ";s:3:"ἇ";s:3:"Ἐ";s:3:"ἐ";s:3:"Ἑ";s:3:"ἑ";s:3:"Ἒ";s:3:"ἒ";s:3:"Ἓ";s:3:"ἓ";s:3:"Ἔ";s:3:"ἔ";s:3:"Ἕ";s:3:"ἕ";s:3:"Ἠ";s:3:"ἠ";s:3:"Ἡ";s:3:"ἡ";s:3:"Ἢ";s:3:"ἢ";s:3:"Ἣ";s:3:"ἣ";s:3:"Ἤ";s:3:"ἤ";s:3:"Ἥ";s:3:"ἥ";s:3:"Ἦ";s:3:"ἦ";s:3:"Ἧ";s:3:"ἧ";s:3:"Ἰ";s:3:"ἰ";s:3:"Ἱ";s:3:"ἱ";s:3:"Ἲ";s:3:"ἲ";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";s:4:"𐐊";s:4:"𐐲";s:4:"𐐋";s:4:"𐐳";s:4:"𐐌";s:4:"𐐴";s:4:"𐐍";s:4:"𐐵";s:4:"𐐎";s:4:"𐐶";s:4:"𐐏";s:4:"𐐷";s:4:"𐐐";s:4:"𐐸";s:4:"𐐑";s:4:"𐐹";s:4:"𐐒";s:4:"𐐺";s:4:"𐐓";s:4:"𐐻";s:4:"𐐔";s:4:"𐐼";s:4:"𐐕";s:4:"𐐽";s:4:"𐐖";s:4:"𐐾";s:4:"𐐗";s:4:"𐐿";s:4:"𐐘";s:4:"𐑀";s:4:"𐐙";s:4:"𐑁";s:4:"𐐚";s:4:"𐑂";s:4:"𐐛";s:4:"𐑃";s:4:"𐐜";s:4:"𐑄";s:4:"𐐝";s:4:"𐑅";s:4:"𐐞";s:4:"𐑆";s:4:"𐐟";s:4:"𐑇";s:4:"𐐠";s:4:"𐑈";s:4:"𐐡";s:4:"𐑉";s:4:"𐐢";s:4:"𐑊";s:4:"𐐣";s:4:"𐑋";s:4:"𐐤";s:4:"𐑌";s:4:"𐐥";s:4:"𐑍";}}
\ No newline at end of file diff --git a/serialized/serialize-localisation.php b/serialized/serialize-localisation.php new file mode 100644 index 00000000..925806b0 --- /dev/null +++ b/serialized/serialize-localisation.php @@ -0,0 +1,35 @@ +<?php + +$wgNoDBParam = true; +$optionsWithArgs = array( 'o' ); +require_once( dirname(__FILE__).'/../maintenance/commandLine.inc' ); +require_once( dirname(__FILE__).'/serialize.php' ); + +$stderr = fopen( 'php://stderr', 'w' ); +if ( !isset( $args[0] ) ) { + fwrite( $stderr, "No input file specified\n" ); + exit( 1 ); +} +$file = $args[0]; +$code = str_replace( 'Messages', '', basename( $file ) ); +$code = str_replace( '.php', '', $code ); +$code = strtolower( str_replace( '_', '-', $code ) ); + +$localisation = Language::getLocalisationArray( $code, true ); +if ( wfIsWindows() ) { + $localisation = unixLineEndings( $localisation ); +} + +if ( isset( $options['o'] ) ) { + $out = fopen( $options['o'], 'wb' ); + if ( !$out ) { + fwrite( $stderr, "Unable to open file \"{$options['o']}\" for output\n" ); + exit( 1 ); + } +} else { + $out = fopen( 'php://stdout', 'wb' ); +} + +fwrite( $out, serialize( $localisation ) ); + +?> diff --git a/serialized/serialize.php b/serialized/serialize.php new file mode 100644 index 00000000..0eaf0b14 --- /dev/null +++ b/serialized/serialize.php @@ -0,0 +1,75 @@ +<?php + +if ( !defined( 'MEDIAWIKI' ) ) { + $wgNoDBParam = true; + $optionsWithArgs = array( 'o' ); + require_once( dirname(__FILE__).'/../maintenance/commandLine.inc' ); + + $stderr = fopen( 'php://stderr', 'w' ); + if ( !isset( $args[0] ) ) { + fwrite( $stderr, "No input file specified\n" ); + exit( 1 ); + } + if ( wfIsWindows() ) { + $files = array(); + foreach ( $args as $arg ) { + $files = array_merge( $files, glob( $arg ) ); + } + if ( !$files ) { + fwrite( $stderr, "No files found\n" ); + } + } else { + $files = $args; + } + + if ( isset( $options['o'] ) ) { + $out = fopen( $options['o'], 'wb' ); + if ( !$out ) { + fwrite( $stderr, "Unable to open file \"{$options['o']}\" for output\n" ); + exit( 1 ); + } + } else { + $out = fopen( 'php://stdout', 'wb' ); + } + + $vars = array(); + foreach ( $files as $inputFile ) { + $vars = array_merge( $vars, getVars( $inputFile ) ); + } + fwrite( $out, serialize( $vars ) ); + fclose( $out ); + exit( 0 ); +} + +//---------------------------------------------------------------------------- + +function getVars( $_gv_filename ) { + require( $_gv_filename ); + $vars = get_defined_vars(); + unset( $vars['_gv_filename'] ); + + # Clean up line endings + if ( wfIsWindows() ) { + $vars = unixLineEndings( $vars ); + } + return $vars; +} + +function unixLineEndings( $var ) { + static $recursionLevel = 0; + if ( $recursionLevel > 50 ) { + global $stderr; + fwrite( $stderr, "Error: Recursion limit exceeded. Possible circular reference in array variable.\n" ); + exit( 2 ); + } + + if ( is_array( $var ) ) { + ++$recursionLevel; + $var = array_map( 'unixLineEndings', $var ); + --$recursionLevel; + } elseif ( is_string( $var ) ) { + $var = str_replace( "\r\n", "\n", $var ); + } + return $var; +} +?> |