mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-29 00:31:09 +00:00
Use sitename as title for the logo
This commit is contained in:
parent
bcff2d8027
commit
4f0fb48a76
|
@ -329,11 +329,13 @@ class CitizenTemplate extends BaseTemplate {
|
||||||
* @return string html
|
* @return string html
|
||||||
*/
|
*/
|
||||||
protected function getLogo() {
|
protected function getLogo() {
|
||||||
|
$siteTitle = $language->convert( $this->getMsg( 'sitetitle' )->escaped() );
|
||||||
$html = Html::rawElement( 'a', [
|
$html = Html::rawElement( 'a', [
|
||||||
'href' => $this->data['nav_urls']['mainpage']['href'],
|
'href' => $this->data['nav_urls']['mainpage']['href'],
|
||||||
'id' => 'p-logo',
|
'id' => 'p-logo',
|
||||||
'class' => 'mw-wiki-logo',
|
'class' => 'mw-wiki-logo',
|
||||||
] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) );
|
'title' => $siteTitle,
|
||||||
|
] );
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue