Page MenuHomePhabricator

non deprecated module jquery.tipsy logs "deprecated" message to console
Closed, InvalidPublic


tipsy is documented on , and there is no mention for it being deprecated, let alone any suggestion of alternative means to get tipsy's functionality.

( just to clarify: numerous tools on many wikis actually _use_ tipsy, so deprecating it with no valid alternative should be considered verboten ).

however, when calling


the following message appears in the console:

This page is using the deprecated ResourceLoader module "jquery.tipsy".

this is not nice.


Event Timeline

Kipod created this task.Sep 30 2016, 7:15 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 30 2016, 7:15 PM

The closest alternative is a OOjs UI PopupButtonWidget ( There is no convenient way to display those popups on hover, though (they appear on click): T88630.

Hi @Kipod - the deprecation process in MediaWiki is slow, so this message, which is just a warning, was designed to start conversations like this so thank you for raising this task. Note "deprecated" does not mean "removed". We're still trying to work out how best to manage this process but the initial idea is to discourage new usages of this library.

In terms of motivation - ideally we'd like everyone to be making gadgets and extensions with the same client side code. The problem when we don't enforce this is we load two JavaScript libraries on a page which do the same thing which leads to slower experiences for our users, especially mobile users who may be accessing with poor connections.

Right now the priority is to get Wikimedia extensions to stop using these libraries and to create a consistent UX experience across the site. As @matmarex points out the hope is that PopupButtonWidget could be used as an alternative which fits in with the general look of feel of the rest of the site.

I'd encourage you to take a look at that and give feedback on what it doesn't do, whether document/migration paths are lacking. We can update the warning message as we learn more, but there is no likelihood we will completely remove it any time soon.

Jdforrester-WMF closed this task as Invalid.Oct 3 2016, 9:33 PM
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

Jon has updated that documentation page to mention that it's deprecated. Thanks for finding it.