Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/269772

Change subject: Revert "Add \n to wikiversions.json"
......................................................................

Revert "Add \n to wikiversions.json"

This reverts commit 18104293de869e9852d4989c642c888619405931.

Change-Id: Ie1dde6e462aa98d42d088b0e23aa79342cb21b88
---
M multiversion/MWWikiversions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/72/269772/1

diff --git a/multiversion/MWWikiversions.php b/multiversion/MWWikiversions.php
index 5de4849..0c90579 100644
--- a/multiversion/MWWikiversions.php
+++ b/multiversion/MWWikiversions.php
@@ -30,7 +30,7 @@
        public static function writeWikiVersionsFile( $path, $wikis ) {
                // 448 == JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | 
JSON_UNESCAPED_UNICODE,
                // but doesn't break on PHP 5.3, which does not have these 
defined.
-               $json = json_encode( $wikis, 448 ) . "\n";
+               $json = json_encode( $wikis, 448 );
                if ( !file_put_contents( $path, $json, LOCK_EX ) ) {
                        print "Unable to write to $path.\n";
                        exit( 1 );

-- 
To view, visit https://gerrit.wikimedia.org/r/269772
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1dde6e462aa98d42d088b0e23aa79342cb21b88
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to