mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-30 17:14:50 +00:00
fix(components): 🐛 escape the contents of MediaWiki:Tagline
Co-authored-by: BlankEclair <blankeclair@waifu.club>
This commit is contained in:
parent
c11fbf67a9
commit
4a43280242
|
@ -191,13 +191,13 @@ class CitizenComponentPageHeading implements CitizenComponent {
|
||||||
$tagline = $localizer->msg( 'citizen-tagline' )->parse();
|
$tagline = $localizer->msg( 'citizen-tagline' )->parse();
|
||||||
} else {
|
} else {
|
||||||
// Fallback to site tagline
|
// Fallback to site tagline
|
||||||
$tagline = $localizer->msg( 'tagline' )->text();
|
$tagline = $localizer->msg( 'tagline' )->parse();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ( !$localizer->msg( 'citizen-tagline' )->isDisabled() ) {
|
} elseif ( !$localizer->msg( 'citizen-tagline' )->isDisabled() ) {
|
||||||
$tagline = $localizer->msg( 'citizen-tagline' )->parse();
|
$tagline = $localizer->msg( 'citizen-tagline' )->parse();
|
||||||
} else {
|
} else {
|
||||||
$tagline = $localizer->msg( 'tagline' )->text();
|
$tagline = $localizer->msg( 'tagline' )->parse();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue