Register icon name for citethispage menu

This is used by Minerva and in future possibly used by Vector 2022

Change-Id: Ia9a9a08c68be652c16692db30e0efbe02fbfba0d
This commit is contained in:
Jon Robson 2023-03-23 09:52:03 -07:00
parent 2e7c6c5fef
commit 925272e6a1

View file

@ -56,6 +56,7 @@ class Hooks implements \MediaWiki\Hook\SidebarBeforeOutputHook {
$citeThisPageLink = [ $citeThisPageLink = [
'id' => 't-cite', 'id' => 't-cite',
'href' => $citeURL, 'href' => $citeURL,
'icon' => 'quotes',
'text' => $skin->msg( 'citethispage-link' )->text(), 'text' => $skin->msg( 'citethispage-link' )->text(),
// Message keys: 'tooltip-citethispage', 'accesskey-citethispage' // Message keys: 'tooltip-citethispage', 'accesskey-citethispage'
'single-id' => 'citethispage', 'single-id' => 'citethispage',