Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/70839
Change subject: Fixup writing of newlines and done to make output consistent
and sensible
......................................................................
Fixup writing of newlines and done to make output consistent and sensible
Updating ExtensionMessages-1.22wmf8.php...
Updating LocalisationCache for 1.22wmf8... done
becomes
Updating ExtensionMessages-1.22wmf8.php... done
Updating LocalisationCache for 1.22wmf8... done
Change-Id: Ic5e8f37975a8826482494a72fd0f3b35ce5d82cb
---
M files/scap/mw-update-l10n
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/39/70839/1
diff --git a/files/scap/mw-update-l10n b/files/scap/mw-update-l10n
index 8f03f55..b0a93a5 100755
--- a/files/scap/mw-update-l10n
+++ b/files/scap/mw-update-l10n
@@ -38,13 +38,14 @@
for i in ${mwExtVerDbSets[@]}; do
mwVerNum=${i%=*}
mwDbName=${i#*=}
- echo "Updating ExtensionMessages-$mwVerNum.php..."
+ echo -n "Updating ExtensionMessages-$mwVerNum.php..."
mwTempDest=$(sudo -u apache mktemp)
sudo -u apache $BINDIR/mwscript mergeMessageFileList.php
--wiki="$mwDbName" \
--list-file=$MW_COMMON_SOURCE/wmf-config/extension-list $QUIET
--output="$mwTempDest"
sudo -u apache chmod a+r "$mwTempDest"
cp "$mwTempDest"
$MW_COMMON_SOURCE/wmf-config/ExtensionMessages-"$mwVerNum".php
sudo -u apache rm "$mwTempDest"
+ echo "done"
# Update ExtensionMessages-*.php in the local copy
sudo -u mwdeploy cp
$MW_COMMON_SOURCE/wmf-config/ExtensionMessages-"$mwVerNum".php
$MW_COMMON/wmf-config/
--
To view, visit https://gerrit.wikimedia.org/r/70839
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5e8f37975a8826482494a72fd0f3b35ce5d82cb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits