mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-28 09:10:07 +00:00
Don't use deprecated Sanitizer::escapeId()
Change-Id: Ia92e685d33e377669b034b02819e183efe77e4f2
This commit is contained in:
parent
d1b7bd3a39
commit
963f3c1525
|
@ -31,7 +31,7 @@ class SpecialGadgets extends SpecialPage {
|
|||
}
|
||||
|
||||
private function makeAnchor( $gadgetName ) {
|
||||
return 'gadget-' . Sanitizer::escapeId( $gadgetName, [ 'noninitial' ] );
|
||||
return 'gadget-' . Sanitizer::escapeIdForAttribute( $gadgetName );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue