jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Kaldari: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I65fe9d422688c81f4ca053e72d5423309a0c5235
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits