Page MenuHomePhabricator

Fix JQMIGRATE: jQuery.fn.hover() is deprecated in ContentTranslation
Closed, ResolvedPublic

Description

Observed for example in https://ja.wikipedia.org/wiki/Special:ContentTranslation?page=Oath&from=zh&to=ja&targettitle=Oath&debug=true

This is similar to T177941: Fix JQMIGRATE: jQuery.fn.hover() is deprecated in TwnMainPage, but now one needs to set up ContentTranslation to fix and test the fix.

The file in question is modules/translation/ext.cx.translation.js and the method is getPlaceholder near line 361.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 13 2017, 10:02 AM

I can mentor this, will file a task on the GCI site.

Change 400175 had a related patch set uploaded (by Albert221; owner: Albert221):
[mediawiki/extensions/ContentTranslation@master] Fix $.fn.hover deprecation error

https://gerrit.wikimedia.org/r/400175

Change 400175 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Fix $.fn.hover deprecation error

https://gerrit.wikimedia.org/r/400175

Albert221 closed this task as Resolved.Dec 26 2017, 9:48 PM
Albert221 claimed this task.