r92615 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92614‎ | r92615 | r92616 >
Date:09:55, 20 July 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Partial revert of r92545, apparently it was just mistake in CLDR's side
(In case I'm wrong there is one line that need to be fixed "unzip common.zip -d core")
Modified paths:
  • /trunk/extensions/cldr/Makefile (modified) (history)
  • /trunk/extensions/cldr/README (modified) (history)
  • /trunk/extensions/cldr/rebuild.php (modified) (history)

Diff [purge]

Index: trunk/extensions/cldr/rebuild.php
@@ -13,7 +13,7 @@
1414 $dir = dirname(__FILE__);
1515 require_once( "$dir/cldr.php" );
1616
17 -$DATA = "$dir/common/main";
 17+$DATA = "$dir/core/common/main";
1818 $OUTPUT = $dir;
1919
2020 if (isset( $options['datadir'] ) ) {
Index: trunk/extensions/cldr/README
@@ -11,8 +11,8 @@
1212 http://www.unicode.org/cldr/repository_access.html
1313
1414 Example:
15 - wget http://www.unicode.org/Public/cldr/2.0.1/common.zip
16 - unzip common.zip -d core
 15+ wget http://www.unicode.org/Public/cldr/2.0.1/core.zip
 16+ unzip core.zip -d core
1717 php rebuild.php
1818
1919 == Usage ==
Index: trunk/extensions/cldr/Makefile
@@ -1,6 +1,6 @@
22 .PHONY: help all clean
33
4 -COMMON=http://www.unicode.org/Public/cldr/2.0.1/common.zip
 4+CORE=http://www.unicode.org/Public/cldr/2.0.1/core.zip
55
66 help:
77 @echo "'make all' to download CLDR data and rebuild files."
@@ -12,17 +12,15 @@
1313 distclean:
1414 rm -f core.zip
1515 rm -rf core
16 - rm -f common.zip
17 - rm -rf common
1816
1917 clean:
2018 rm -f LanguageNames[A-Z]*.php
2119
22 -LanguageNames.php: common/
 20+LanguageNames.php: core/
2321 php rebuild.php
2422
25 -common/: common.zip
26 - unzip common.zip -d common
 23+core/: core.zip
 24+ unzip core.zip -d core
2725
28 -common.zip:
29 - curl -C - -O $(COMMON) || wget $(COMMON) || fetch $(COMMON)
 26+core.zip:
 27+ curl -C - -O $(CORE) || wget $(CORE) || fetch $(CORE)

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92545updating for new CLDR archive formatkaldari17:28, 19 July 2011

Status & tagging log