Replace usage of Sanitizer::escapeId(), deprecated in MW 1.30

Change-Id: I7d5ba4930688ed7f011a4babed5986b8e40910a0
isekai
C. Scott Ananian 5 years ago
parent 43288082b2
commit 688fff1a3e

@ -318,7 +318,7 @@ class TimelessTemplate extends BaseTemplate {
$html .= Html::rawElement(
'div',
[
'id' => Sanitizer::escapeId( $id ),
'id' => Sanitizer::escapeIdForAttribute( $id ),
'class' => array_merge( [ 'sidebar-chunk' ], $classes )
],
Html::rawElement( 'h2', [],

Loading…
Cancel
Save