Page MenuHomePhabricator

mw.util.escapeId should log deprecation warning
Closed, ResolvedPublic

Description

rMWfd6e9ef2d481: Human-readable section ID support deprecated the JS function mw.util.escapeId. To make users of that function aware of it, mw.log.deprecate should be used like for the other deprecated functions from that module to log a deprecation warning on use.

Details

Related Gerrit Patches:

Event Timeline

Schnark created this task.Aug 4 2017, 8:41 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 4 2017, 8:41 AM

Change 370870 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] mw.util: Add a deprecation message to escapeId()

https://gerrit.wikimedia.org/r/370870

Change 370870 merged by jenkins-bot:
[mediawiki/core@master] mw.util: Add a deprecation message to escapeId()

https://gerrit.wikimedia.org/r/370870

MaxSem closed this task as Resolved.Sep 12 2017, 6:30 PM
MaxSem assigned this task to matmarex.