From 4f0fb48a76356bda66fac807f1300b7e969a31d2 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Mon, 6 Jan 2020 21:03:36 -0500 Subject: [PATCH] Use sitename as title for the logo --- includes/CitizenTemplate.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/CitizenTemplate.php b/includes/CitizenTemplate.php index 02282311..1f0b05e8 100644 --- a/includes/CitizenTemplate.php +++ b/includes/CitizenTemplate.php @@ -329,11 +329,13 @@ class CitizenTemplate extends BaseTemplate { * @return string html */ protected function getLogo() { + $siteTitle = $language->convert( $this->getMsg( 'sitetitle' )->escaped() ); $html = Html::rawElement( 'a', [ 'href' => $this->data['nav_urls']['mainpage']['href'], 'id' => 'p-logo', 'class' => 'mw-wiki-logo', - ] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ); + 'title' => $siteTitle, + ] ); return $html; }