Page MenuHomePhabricator

Remove use of jquery.tipsy from Wikimedia-maintained code
Open, LowPublic

Description

jquery.tipsy is pretty old, pretty awkward and pretty ugly. We should stop using it in our interfaces. OOUI's popups implement most of the features we'd want.
For simple contents a title attribute without payload of an extra JS dependency is sufficient as well.

(Old/minimal documentation page at https://www.mediawiki.org/wiki/Tipsy )

Related Objects

Event Timeline

matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added a project: MediaWiki-General.
matmarex added subscribers: matmarex, ori, Volker_E.

1km@km-tp ~/p/v/m/extensions> ack tipsy --php --json
2ArticleFeedbackv5/ArticleFeedbackv5.php
3721: 'jquery.tipsy',
4906: 'jquery.tipsy',
5
6Foxway/Foxway.php
788: 'dependencies' => 'jquery.tipsy',
8
9CodeReview/extension.json
10104: "dependencies": "jquery.tipsy"
11109: "dependencies": "jquery.tipsy",
12
13CodeReview/CodeReview.php
14321: 'dependencies' => 'jquery.tipsy',
15328: 'dependencies' => 'jquery.tipsy',
16
17ArticleFeedback/ArticleFeedback.hooks.php
1882: 'jquery.tipsy',
19
20Wikibase/lib/resources/jquery.wikibase/resources.php
2139: 'jquery.tipsy',
22
23Wikibase/view/resources/wikibase/utilities/resources.php
2448: 'jquery.tipsy',
25
26ProofreadPage/ProofreadPage.php
27199: 'dependencies' => array( 'ext.proofreadpage.base', 'jquery.tipsy' )
28
29Translate/Resources.php
3065: 'jquery.tipsy',
31
32BetaFeatures/extension.json
3380: "jquery.tipsy"
34
35MultimediaViewer/extension.json
36118: "jquery.tipsy",
37336: "mmv.ui.tipsyDialog": {
38338: "mmv/ui/mmv.ui.tipsyDialog.js"
39341: "mmv/ui/mmv.ui.tipsyDialog.less"
40346: "jquery.tipsy"
41
42MultimediaViewer/MultimediaViewerHooks.php
43382: 'tests/qunit/mmv/ui/mmv.ui.tipsyDialog.test.js',
44394: 'mmv.ui.tipsyDialog',
45
46UploadWizard/UploadWizardHooks.php
4725: 'jquery.tipsy',
48
49Wikidata/extensions/Wikibase/lib/resources/jquery.wikibase/resources.php
5039: 'jquery.tipsy',
51
52Wikidata/extensions/Wikibase/view/resources/wikibase/utilities/resources.php
5348: 'jquery.tipsy',
54
55ContentTranslation/extension.json
56917: "jquery.tipsy"
57
58UniversalLanguageSelector/Resources.php
59115: 'jquery.tipsy',
60
61UniversalLanguageSelector/extension.json
62200: "jquery.tipsy",

Jdforrester-WMF renamed this task from Stop using jquery.tipsy to Stop using jquery.tipsy in Wikimedia-maintained code.Aug 15 2016, 6:57 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set Security to None.

Gadgets (and possibly even user scripts) should be taken into consideration as well before tipsy is completely removed. Will require Notice.

Krinkle renamed this task from Stop using jquery.tipsy in Wikimedia-maintained code to Remove use of jquery.tipsy from Wikimedia-maintained code.Aug 15 2016, 10:51 PM
Krinkle moved this task from Unsorted to Migrate / Replace on the Technical-Debt board.

As the on Commons:MediaWiki in time most active competent script user @Rillke is now inactive and he used $.tipsy widely on some gadgets, it needs a real documentation for replacement!? It is a bit annoying that gadgets get not working, for example https://commons.wikimedia.org/wiki/MediaWiki:Gadget-GlobalUsage.js

I really hope tipsy support will stay until a good replacement comes, because it can do something beautiful that title attribute can't, tooltip in desktop browser version on mobiles and tablets. And because wikimedia registered users usually work there on desktop version, knowing that mobile version is good for anonym readers, but has not enough functionality for editors, it can be a very breaking change.