Last modified: 2014-03-05 21:08:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 62198 - Mark window.$j as deprecated
Mark window.$j as deprecated
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: 1.23.0 release
Assigned To: Tony Thomas
: easy
Depends on:
Blocks: code_quality global-vars
  Show dependency treegraph
 
Reported: 2014-03-04 13:20 UTC by Helder
Modified: 2014-03-05 21:08 UTC (History)
6 users (show)

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


Attachments

Description Helder 2014-03-04 13:20:07 UTC
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.' );
Comment 1 Bartosz Dziewoński 2014-03-04 13:24:13 UTC
+1
Comment 2 Gerrit Notification Bot 2014-03-05 11:42:34 UTC
Change 116946 had a related patch set uploaded by 01tonythomas:
Deprecated window.$j

https://gerrit.wikimedia.org/r/116946
Comment 3 Gerrit Notification Bot 2014-03-05 13:39:51 UTC
Change 116946 merged by jenkins-bot:
Deprecate window.$j

https://gerrit.wikimedia.org/r/116946
Comment 4 Andre Klapper 2014-03-05 13:46:35 UTC
Bug is now in 1.23, hence setting the Version field back to 1.23.
When the code was introduced is mostly uninteresting.
Comment 5 Umherirrender 2014-03-05 19:41:16 UTC
successfully merged

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


Navigation
Links