Kaldari has uploaded a new change for review.

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

Change subject: Display footer copyright notice in user language on mobile
......................................................................

Display footer copyright notice in user language on mobile

Previously, both the desktop and mobile copyright notices were
displayed in the content language rather than the user language.
In May, this was switched on desktop per Bug 49116. This change
keeps the mobile interface in sync with desktop by also displaying
the copyright notice in the user language.

Bug: 49116
Change-Id: I683137b1dbe1d55941db1777a3eea09aeaa2b5ee
---
M includes/skins/SkinMinerva.php
1 file changed, 3 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/90/155590/1

diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php
index f74b5aa..0a0556f 100644
--- a/includes/skins/SkinMinerva.php
+++ b/includes/skins/SkinMinerva.php
@@ -1003,13 +1003,11 @@
 </ul>
 HTML;
 
-               // Generate the licensing text displayed in the footer of each 
page
+               // Generate the licensing text displayed in the footer of each 
page.
+               // See Skin::getCopyright for desktop equivalent.
                $link = self::getLicenseLink( 'footer' );
-               // The license message is displayed in the content language 
rather than the user
-               // language. See Skin::getCopyright.
                if ( $link ) {
-                       $licenseText = $this->msg( 'mobile-frontend-copyright' 
)->rawParams(
-                               $link )->inContentLanguage()->text();
+                       $licenseText = $this->msg( 'mobile-frontend-copyright' 
)->rawParams( $link )->text();
                } else {
                        $licenseText = '';
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I683137b1dbe1d55941db1777a3eea09aeaa2b5ee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>

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

Reply via email to