Page MenuHomePhabricator

VisualEditor: Don't use deprecated mw.util.wikiGetlink function
Closed, ResolvedPublic

Description

When in debug mode the browser console always shows a message

MWDeprecationWarning: Use of "wikiGetlink" property is deprecated. Use mw.util.getUrl instead.

caused somewhere in VE's startup module. When you are trying to find uses of deprecated functions in your own scripts this message is a bit annoying, as you can't do anything about it and it shows up on every page. So please replace all calls to .wikiGetlink with .getUrl (in startup module and possibly elsewhere).


Version: unspecified
Severity: trivial

Details

Reference
bz57237

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:22 AM
bzimport set Reference to bz57237.

This was done in gerrit 94263 which is in wmf3, which will be deployed to Wikipedias on Thursday.