* @deprecated since 1.33 Use ->msg() or ->getMsg() instead.
*/
function msgWiki( $str ) {
- // TODO: Add wfDeprecated( __METHOD__, '1.33' ) after 1.33 got released
+ wfDeprecated( __METHOD__, '1.33' ); // Hard-deprecated in 1.34
echo $this->getMsg( $str )->parseAsBlock();
}
if ( isset( $item['itemtitle'] ) ) {
$attrs['title'] = $item['itemtitle'];
}
- // @phan-suppress-next-line PhanTypeInvalidDimOffset
return Html::rawElement( $options['tag'] ?? 'li', $attrs, $html );
}
*/
public function getTrail() {
return WrappedString::join( "\n", [
+ // @phan-suppress-next-line PhanTypeMismatchArgument
MWDebug::getDebugHTML( $this->getSkin()->getContext() ),
$this->get( 'bottomscripts' ),
$this->get( 'reporttime' )