Board Thread:Support Requests - Getting Technical/@comment-31251669-20170329132757/@comment-1757994-20170329200442

The collapsing feature provided by MediaWiki is actually an implementation of a feature provided by a jQuery library. It hides entire HTML elements, which includes rows in tables. Columns in tables are not a single HTML element. They're a bunch of elements with different parents.

I made a column-collapsing function for w:c:runescape:Distractions and Diversions/Locations/Penguin Hide and Seek a few years ago. (Column-collapse is part of what w:c:runescape:MediaWiki:Common.js/pengLocations.js does.) I'd probably write it differently if I had it to do over, but it works.

But the point is that such functionality requires custom, separate JavaScript. There's no way to "enhance" a standard jQuery library function to do it.