Page MenuHomePhabricator

Replace jQuery UI with OOUI in Header Tabs extension
Closed, ResolvedPublic

Description

The Header Tabs extension (https://www.mediawiki.org/wiki/Extension:Header_Tabs) used the YUI JavaScript library from 2008 to 2010, then both YUI and jQuery UI from 2010 to 2013, then just jQuery UI from 2013 to the present. It's time now for another library change, since the use of jQuery UI has been deprecated. Fortunately, MediaWiki's own OOUI library has its own support for tabs:

https://www.mediawiki.org/wiki/OOUI/Index_and_TabPanels

In order to accomplish this, I think all the files in the /skins directory need to be removed - possibly to be replaced with a single .js file. This change may also require removing some of the current Header Tabs settings variables (like $wgHeaderTabsStyle), but that's fine.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 24 2020, 5:08 AM

Change 614070 had a related patch set uploaded (by Yaron Koren; owner: priyanshu-3390):
[mediawiki/extensions/HeaderTabs@master] Modify Header Tabs to use OOUI

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

Change 614070 merged by jenkins-bot:
[mediawiki/extensions/HeaderTabs@master] Modify Header Tabs to use OOUI

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

Yaron_Koren closed this task as Resolved.Jul 23 2020, 8:01 PM
Yaron_Koren claimed this task.