Page MenuHomePhabricator

Mark window.$j as deprecated
Closed, ResolvedPublic

Description

This is an old jQuery alias from Usability Initiative times... Can't it be deprecated?
https://github.com/wikimedia/mediawiki-core/blob/master/resources/mediawiki/mediawiki.js#L2354-L2355

Something like this:
mw.log.deprecate( window, '$j', jQuery, 'Use $ or jQuery instead.' );


Version: 1.23.0
Severity: normal

Details

Reference
bz62198

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz62198.
He7d3r created this task.Mar 4 2014, 1:20 PM

Change 116946 had a related patch set uploaded by 01tonythomas:
Deprecated window.$j

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

Change 116946 merged by jenkins-bot:
Deprecate window.$j

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

Bug is now in 1.23, hence setting the Version field back to 1.23.
When the code was introduced is mostly uninteresting.

successfully merged