mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-13 17:53:09 +00:00
SpecialCite: fix escaping of message
Linker::link takes raw HTML, so use ->escaped(). Also use $skin->msg() instead of wfMessage. Change-Id: I56c0791d31897793b0e8cd8ac18ea337a96d1ff0
This commit is contained in:
parent
52195376d5
commit
8c1494e5bb
|
@ -79,7 +79,7 @@ function wfSpecialCiteToolbox( &$skin ) {
|
|||
array( 'id' => 't-cite' ),
|
||||
Linker::link(
|
||||
SpecialPage::getTitleFor( 'Cite' ),
|
||||
wfMessage( 'cite_article_link' )->text(), // @todo Should be escaped()?
|
||||
$skin->msg( 'cite_article_link' )->escaped(),
|
||||
# Used message keys: 'tooltip-cite-article', 'accesskey-cite-article'
|
||||
Linker::tooltipAndAccessKeyAttribs( 'cite-article' ),
|
||||
$skin->data['nav_urls']['cite']['args']
|
||||
|
|
Loading…
Reference in a new issue