From 87674b4d2b581501d637c9657baa8445668a89ad Mon Sep 17 00:00:00 2001 From: axxie Date: Sun, 24 Jul 2016 18:03:51 +0300 Subject: [PATCH 1/2] Fixed the bug with interwiki language links ("In other languages" list) --- Strapping.skin.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Strapping.skin.php b/Strapping.skin.php index eaf3a1c..9da6676 100644 --- a/Strapping.skin.php +++ b/Strapping.skin.php @@ -737,14 +737,16 @@ private function renderNavigation( $elements ) { case 'LANGUAGES': $theMsg = 'otherlanguages'; + $msgObj = wfMessage( $theMsg ); + $name = htmlspecialchars( $msgObj->exists() ? $msgObj->text() : $theMsg ); $theData = $this->data['language_urls']; ?>