Esanders has uploaded a new change for review.

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

Change subject: Always render error message in LTR as it's English
......................................................................

Always render error message in LTR as it's English

Bug: T113935
Change-Id: Ib190462f758dea6aa344f96af00b049a53907541
---
M Score.body.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Score 
refs/changes/20/243020/1

diff --git a/Score.body.php b/Score.body.php
index d85f633..b8d8377 100644
--- a/Score.body.php
+++ b/Score.body.php
@@ -99,7 +99,8 @@
                throw new ScoreException(
                        $message->rawParams(
                                Html::rawElement( 'pre',
-                                       array(),
+                                       // Error messages from LilyPond & 
abc2ly are always English
+                                       array( 'lang' => 'en', 'dir' => 'ltr' ),
                                        htmlspecialchars( $output )
                                )
                        )

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib190462f758dea6aa344f96af00b049a53907541
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Score
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

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

Reply via email to