Last modified: 2013-11-19 10:36:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59237, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57237 - VisualEditor: Don't use deprecated mw.util.wikiGetlink function
VisualEditor: Don't use deprecated mw.util.wikiGetlink function
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Initialisation (Other open bugs)
unspecified
All All
: Normal trivial
: VE-deploy-2013-11-14
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-19 10:29 UTC by Michael M.
Modified: 2013-11-19 10:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2013-11-19 10:29:57 UTC
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).
Comment 1 James Forrester 2013-11-19 10:36:35 UTC
This was done in Gerrit change #94263 which is in wmf3, which will be deployed to Wikipedias on Thursday.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links