r94190 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94189‎ | r94190 | r94191 >
Date:19:33, 10 August 2011
Author:aaron
Status:ok
Tags:
Comment:
* Removed unused var and some commented out code
* Added comment for clarity
Modified paths:
  • /trunk/tools/mwmultiversion/scripts/scap-2 (modified) (history)
  • /trunk/tools/mwmultiversion/scripts/sync-l10nupdate (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/scripts/scap-2
@@ -12,6 +12,7 @@
1313 exit 1
1414 fi
1515
 16+# wikiversions.dat just synced above
1617 mwVersionNums=(`mwversionsinuse`)
1718 if [ -z "$mwVersionNums" ]; then
1819 echo "Unable to read wikiversions.dat or it is empty"
@@ -41,6 +42,3 @@
4243 rm -r "$builddir"
4344 cd /
4445 done
45 -
46 -#echo -n "Restarting apache... "
47 -#/usr/bin/apache-sanity-check && ( sudo /usr/sbin/apache2ctl stop; sudo killall -9 apache2;sleep 3; sudo /usr/sbin/apache2ctl start )
Index: trunk/tools/mwmultiversion/scripts/sync-l10nupdate
@@ -3,8 +3,6 @@
44 PATH=/bin:/usr/bin:/sbin:/usr/sbin:
55 MWVER="$1"
66
7 -mwVersionNums=(`mwversionsinuse --extended`)
8 -
97 echo "Synchronizing /home/wikipedia/common/php-$MWVER/cache/l10n to /usr/local/apache/common-local/php-$MWVER/cache/l10n..."
108 echo "mediawiki-installation:"
119

Status & tagging log