Ori.livneh has uploaded a new change for review.

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


Change subject: Fix contact link HTML
......................................................................

Fix contact link HTML

Change-Id: I65fe9d422688c81f4ca053e72d5423309a0c5235
---
M wmf-config/CommonSettings.php
1 file changed, 3 insertions(+), 1 deletion(-)


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

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 1c47b0a..a210ea1 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1304,7 +1304,9 @@
 
 if ( $wmgUseFooterContactLink ) {
        $wgHooks['SkinTemplateOutputPageBeforeExec'][] = function ( $sk, &$tpl 
) {
-               $tpl->set( 'contact', $sk->footerLink( 'contact', 'contact-url' 
) );
+               $contactLink = Html::element( 'a', array( 'href' => $sk->msg( 
'contact-url' )->escaped() ),
+                       $sk->msg( 'contact' )->text() );
+               $tpl->set( 'contact', $contactLink );
                $tpl->data['footerlinks']['places'][] = 'contact';
                return true;
        };

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65fe9d422688c81f4ca053e72d5423309a0c5235
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to