Don't use deprecated Sanitizer::escapeId()

Change-Id: Ia92e685d33e377669b034b02819e183efe77e4f2
This commit is contained in:
Max Semenik 2019-02-22 12:25:45 -08:00
parent d1b7bd3a39
commit 963f3c1525

View file

@ -31,7 +31,7 @@ class SpecialGadgets extends SpecialPage {
}
private function makeAnchor( $gadgetName ) {
return 'gadget-' . Sanitizer::escapeId( $gadgetName, [ 'noninitial' ] );
return 'gadget-' . Sanitizer::escapeIdForAttribute( $gadgetName );
}
/**