Add mw.track calls for jquery.migrate
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 14 May 2014 13:45:27 +0000 (15:45 +0200)
committerKrinkle <krinklemail@gmail.com>
Mon, 9 Jun 2014 22:14:54 +0000 (22:14 +0000)
commitcb20b5aa5a68d8f925adf7acc2c3e748d5a66ad2
tree406122eb7b28519fd9c04ced2ff28712262b001c
parent914ac132261307c3f71eaa48d5685c3341c124e7
Add mw.track calls for jquery.migrate

Can't use mw.log.deprecate because many of these are fired
for specific behaviour within a method, not for access to the method
itself.

And mustn't fire the events with topic "mw.deprecate" as we can't satisfy
all the requires properties of that event schema (such as having a search
phrase to find offending code). These tracking hits would be for hit
counts only, not for finding where it comes from (we'll still have wikiid,
pagename, revision id and referral information from EventLogging though).

Change-Id: I6c868f2ce831d74889ed58b6ab4a69b233b3923f
resources/lib/jquery/jquery.migrate.js