jenkins-bot has submitted this change and it was merged. Change subject: Remove trademark symbol from logo image alternative text ......................................................................
Remove trademark symbol from logo image alternative text The trademark symbol is added in HTML, no need to add it to the logo image alternative text. Bug: T129555 Change-Id: Id252ec919bc112d5cde0250c2588ecc2e2af8aeb --- M README.md M includes/MobileFrontend.skin.hooks.php 2 files changed, 3 insertions(+), 2 deletions(-) Approvals: jenkins-bot: Verified Phuedx: Looks good to me, approved diff --git a/README.md b/README.md index 497d82f..ed7a4c9 100644 --- a/README.md +++ b/README.md @@ -561,7 +561,8 @@ * If set to `'registered'` adds a ® to the sitename. * If set to `false`, adds nothing (the default). -You can also edit the `mobile-frontend-footer-sitename` message directly. +Alternatively, you can also edit the `mobile-frontend-footer-sitename` +message directly. * Type: `Boolean` * Default: `false` diff --git a/includes/MobileFrontend.skin.hooks.php b/includes/MobileFrontend.skin.hooks.php index 4d51cb2..374891a 100644 --- a/includes/MobileFrontend.skin.hooks.php +++ b/includes/MobileFrontend.skin.hooks.php @@ -292,7 +292,7 @@ if ( isset( $customLogos['copyright'] ) ) { $attributes = [ 'src' => $customLogos['copyright'], - 'alt' => $footerSitename . $suffix, + 'alt' => $footerSitename, ]; if ( isset( $customLogos['copyright-height'] ) ) { $attributes['height'] = $customLogos['copyright-height']; -- To view, visit https://gerrit.wikimedia.org/r/304961 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id252ec919bc112d5cde0250c2588ecc2e2af8aeb Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Bmansurov <bmansu...@wikimedia.org> Gerrit-Reviewer: Bmansurov <bmansu...@wikimedia.org> Gerrit-Reviewer: Phuedx <g...@samsmith.io> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits