r113763 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113762‎ | r113763 | r113764 >
Date:20:57, 13 March 2012
Author:siebrand
Status:ok
Tags:
Comment:
Update READMEs.
Modified paths:
  • /trunk/translatewiki/EOL/README (modified) (history)
  • /trunk/translatewiki/Europeana/README (modified) (history)
  • /trunk/translatewiki/FreeCol/README (modified) (history)
  • /trunk/translatewiki/MantisBT/README (modified) (history)
  • /trunk/translatewiki/Mifos/README (modified) (history)
  • /trunk/translatewiki/Nocc/README (modified) (history)
  • /trunk/translatewiki/Okawix/README (modified) (history)
  • /trunk/translatewiki/OpenStreetMap/README (modified) (history)
  • /trunk/translatewiki/StatusNet/README (modified) (history)
  • /trunk/translatewiki/Toolserver/README (modified) (history)
  • /trunk/translatewiki/WikiReader/README (modified) (history)
  • /trunk/translatewiki/WikipediaMobile/README (modified) (history)

Diff [purge]

Index: trunk/translatewiki/Mifos/README
@@ -15,5 +15,5 @@
1616
1717 == export-mifos ===
1818 git pull
19 - php /www/w/extensions/Translate/scripts/export.php --grouptrail=out-mifos --target .. --lang='*' --skip=en --threshold=20
20 - php /www/w/extensions/Translate/scripts/export.php --grouptrail=out-mifos --target .. --lang=qqq
 19+ php /www/w/extensions/Translate/scripts/export.php --group=out-mifos* --target .. --lang='*' --skip=en --threshold=20
 20+ php /www/w/extensions/Translate/scripts/export.php --group=out-mifos* --target .. --lang=qqq
Index: trunk/translatewiki/EOL/README
@@ -7,4 +7,4 @@
88 $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/EOL/EOL.yaml"
99
1010 == Export ===
11 - php export.php --target=$EXPORTPATH --no-fuzzy --groupprefix=out-eol- --lang='*' --skip=en --threshold=35
 11+ php export.php --target=$EXPORTPATH --no-fuzzy --group=out-eol-* --lang='*' --skip=en --threshold=35
Index: trunk/translatewiki/Europeana/README
@@ -5,3 +5,6 @@
66 Add to your LocalSettings.php:
77 wfAddNamespace( 1204, 'Europeana' );
88 $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Europeana/Europeana.yaml
 9+
 10+# Commits
 11+To do.
\ No newline at end of file
Index: trunk/translatewiki/FreeCol/README
@@ -18,10 +18,10 @@
1919 EXPORTERPATH=/var/www/w/extensions/Translate/scripts
2020 TARGET=/full/path/to/freecol/i18n
2121 TEMP=`mktemp -p freecol` || { echo "could not get temp file"; exit 1 }
22 -
 22+
2323 cd $EXPORTERPATH
24 - php autoexport.php --hours="$1" --target="$TARGET" --groups="out-freecol" --threshold=25 --skip="en" > $TEMP
25 -
 24+ php autoexport.php --hours="$1" --target="$TARGET" --group=out-freecol --threshold=25 --skip="en" > $TEMP
 25+
2626 cat $TEMP
2727 sh $TEMP
2828 rm $TEMP
Index: trunk/translatewiki/MantisBT/README
@@ -8,4 +8,4 @@
99 $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/MantisBT/MantisBT.yaml";
1010
1111 == Export ==
12 - php export.php --target=$EXPORTPATH --groupprefix=out-mantis- --lang='*' --skip=en --threshold=35
 12+ php export.php --target=$EXPORTPATH --group=out-mantis-* --lang='*' --skip=en --threshold=35
Index: trunk/translatewiki/Nocc/README
@@ -9,5 +9,5 @@
1010 == Export ==
1111 * Required: connect access to the NOCC SourceForge project. Contact:
1212 Tim Gerundt <tim AT gerundt DOT de>.
13 -* php export.php --target=$EXPORTPATH --grouptrail=out-nocc- --skip=en --lang=* --threshold=35
 13+* php export.php --target=$EXPORTPATH --group=out-nocc-* --skip=en --lang=* --threshold=35
1414 * Download, diff and commit the export to the project.
Index: trunk/translatewiki/WikiReader/README
@@ -6,3 +6,6 @@
77 Settings:
88 wfAddNamespace( 1224, 'WikiReader' );
99 $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/WikiReader/WikiReader.yml";
 10+
 11+# Commits
 12+To do.
\ No newline at end of file
Index: trunk/translatewiki/OpenStreetMap/README
@@ -14,6 +14,6 @@
1515 # Export all OpenStreetMap groups in proper structure
1616 if [ $1 = 'osm' ]; then
1717 echo "Exporting OpenStreetMap potlatch and site with 35%+"
18 - php export.php --target=$EXPORTPATH --groupprefix=out-osm- --lang='*' --skip=en,qqq --threshold=35
 18+ php export.php --target=$EXPORTPATH --group=out-osm-* --lang='*' --skip=en,qqq --threshold=35
1919 exit;
2020 fi
Index: trunk/translatewiki/StatusNet/README
@@ -35,7 +35,7 @@
3636 echo "Rebuilding POT..."
3737 $HOME/statusnet/scripts/update_po_templates.php
3838 echo "Exporting all StatusNet groups in languages over 35%..."
39 -php $SCRIPTPATH/export.php --target=$EXPORTPATH/ --lang=* --skip=en,qqq --threshold=35 --ppgettext=$HOME --groupprefix=out-statusnet
 39+php $SCRIPTPATH/export.php --target=$EXPORTPATH/ --lang=* --skip=en,qqq --threshold=35 --ppgettext=$HOME --group=out-statusnet*
4040 echo "Copying updated POT files into export..."
4141 cd $HOME
4242 for i in `find statusnet |grep [.]pot$ |grep locale`
Index: trunk/translatewiki/WikipediaMobile/README
@@ -11,8 +11,8 @@
1212
1313 == Commit updates ==
1414 # Export translations
15 -php /www/w/extensions/Translate/scripts/export.php --groupprefix=out-wikipedia-mobile --target=$HOME/export --lang=* --skip en,qqq --threshold=35
16 -php /www/w/extensions/Translate/scripts/export.php --groupprefix=out-wikipedia-mobile --target=$HOME/export --lang=qqq
 15+php /www/w/extensions/Translate/scripts/export.php --group=out-wikipedia-mobile --target=$HOME/export --lang=* --skip en,qqq --threshold=35
 16+php /www/w/extensions/Translate/scripts/export.php --group=out-wikipedia-mobile --target=$HOME/export --lang=qqq
1717 # Check out a copy with github account set up (read/write with sufficient rights):
1818 git clone git@github.com:wikimedia/WikipediaMobile.git $HOME/export/WikipediaMobile
1919 # must add any new or changed files!
Index: trunk/translatewiki/Okawix/README
@@ -22,7 +22,7 @@
2323 TEMP=`mktemp -p $HOME/okawix` || { echo "could not get temp file"; exit 1 }
2424
2525 cd $EXPORTERPATH
26 -php autoexport.php --hours="$1" --target="$TARGET" --groups="out-okawix-dtd out-okawix-prop" --skip="en" --threshold=40 > $TEMP
 26+php autoexport.php --hours="$1" --target="$TARGET" --group=out-okawix-* --skip="en" --threshold=40 > $TEMP
2727
2828 cat $TEMP
2929 sh $TEMP
Index: trunk/translatewiki/Toolserver/README
@@ -1,4 +1,4 @@
2 -# Checkout repository to $wgTranslateGroupRoot
 2+# Checkout repository to $wgTranslateGroupRoot
33 cd %GROUPROOT%
44 svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/tools/ToolserverI18N/ toolserver
55
@@ -12,3 +12,5 @@
1313
1414 wfAddNamespace( 1240, 'Toolserver' );
1515 $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Toolserver/ToolserverAgg.yaml";
 16+
 17+# @todo Commits
\ No newline at end of file

Sign-offs

UserFlagDate
Nikerabbitinspected16:45, 14 March 2012

Status & tagging log