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

Related Objects

Event Timeline

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

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.