echo $this->getMsg( $str )->escaped();
}
- /**
- * @param string $str
- * @warning You should never use this method. I18n messages should be escaped
- * @deprecated 1.32 Use ->msg() or ->getMsg() instead.
- * @suppress SecurityCheck-XSS
- * @return-taint exec_html
- */
- function msgHtml( $str ) {
- wfDeprecated( __METHOD__, '1.32' );
- echo $this->getMsg( $str )->text();
- }
-
/**
* @deprecated since 1.33 Use ->msg() or ->getMsg() instead.
*/
$toolbox['feeds']['links'][$key]['class'] = 'feedlink';
}
}
- foreach ( [ 'contributions', 'log', 'blockip', 'emailuser',
+ foreach ( [ 'contributions', 'log', 'blockip', 'emailuser', 'mute',
'userrights', 'upload', 'specialpages' ] as $special
) {
if ( isset( $this->data['nav_urls'][$special] ) && $this->data['nav_urls'][$special] ) {
* @return string
*/
function makeListItem( $key, $item, $options = [] ) {
+ // In case this is still set from SkinTemplate, we don't want it to appear in
+ // the HTML output (normally removed in SkinTemplate::buildContentActionUrls())
+ unset( $item['redundant'] );
+
if ( isset( $item['links'] ) ) {
$links = [];
foreach ( $item['links'] as $linkKey => $link ) {