Page MenuHomePhabricator

use jquery.makeCollapsible for collapsable on ImagePages
Closed, InvalidPublic

Description

module mediawiki.action.view.metadata.js implements its own collapsable class, maybe it is possible to merge with jquery.makeCollapsible.js to avoid this duplicate code and the extra css rule in shared.css and others.

The description for expand/hide button should stay, that is possible with jquery.makeCollapsible by using data-collapsetext/data-expandtext


Version: 1.23.0
Severity: enhancement

Details

Reference
bz58481

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:22 AM
bzimport set Reference to bz58481.
bzimport added a subscriber: Unknown Object (MLST).

There is one different: ImagePage collapse table rows, not the whole table. Maybe need a split of the table or something other (to make it not to hard for screenreaders) or WONTFIX, if not the best idea.

duplicatebug claimed this task.

per last comment