Nikerabbit has uploaded a new change for review.

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

Change subject: Do not escape html in messages
......................................................................

Do not escape html in messages

This matches what generateJsonI18n does.

Change-Id: I94177636ee2e59c40805fabb1425ce79fb6c2726
---
M ffs/JsonFFS.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/22/121922/1

diff --git a/ffs/JsonFFS.php b/ffs/JsonFFS.php
index 9b01d0b..cb97f10 100644
--- a/ffs/JsonFFS.php
+++ b/ffs/JsonFFS.php
@@ -106,8 +106,8 @@
                }
 
                // BC for MediaWiki <= 1.21
-               if ( defined( 'FormatJson::UTF8_OK' ) ) {
-                       return FormatJSON::encode( $messages, /*pretty*/true, 
FormatJson::UTF8_OK );
+               if ( defined( 'FormatJson::ALL_OK' ) ) {
+                       return FormatJSON::encode( $messages, /*pretty*/true, 
FormatJson::ALL_OK );
                } else {
                        return FormatJSON::encode( $messages, /*pretty*/true );
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I94177636ee2e59c40805fabb1425ce79fb6c2726
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to