Wiki markup "Collapsible tables"

+4 votes
407 views

Wiki markup does not appear to work for  "Collapsible tables" found at

Colapsible tables

Posted in http://www.wikitree.com/wiki/Space:Sandbox

{| class="wikitable collapsible collapsed"
|-
! Header
|-
| Content which starts hidden
|-
| more hidden content
|}
in Genealogy Help by M Lechner G2G6 Mach 6 (61.8k points)
edited by Keith Hathaway

This would require a super techy, per other comments. Thanks anyway, Mike

Other info found at:

http://en.wikipedia.org/wiki/MediaWiki:Common.js

1 Answer

+3 votes
 
Best answer
Yes, this doesn't work because we don't have that Common.js installed on WikiTree. In theory it could be installed on the server, and should work, but I can't say for sure. It would be worth looking into, though. That collapsible text would be really helpful on talk pages.
by Lianne Lavoie G2G6 Pilot (423k points)
selected by M Lechner
It's been almost six years since this was asked. Has any new consideration been given to the collapsible or mw-collapsible table styles?

I'd also find use for the collapsible list template used on other MediaWiki sites: https://en.wikipedia.org/wiki/Template:Collapsible_list

I use source lists with subsources that make for unreadably long profiles, and I'd like to hide those subsources unless a reader takes interest in them.

Edit: Here's an example of a profile where I'd like to hide the bulleted subsources. The biography is six sentences, but the source list will end up being six pages long: https://www.wikitree.com/wiki/Hall-36310

It seems likely to me that a pure-CSS solution (not requiring JS) may be possible in modern browsers. Here's a demonstration that might be adapted to serve this purpose: http://jsfiddle.net/94ukA/4535/
Hi J. I would recommend asking a new G2G question. Commenting on my answer only gets seen by me. And while I worked for WikiTree when I posted that answer, I don't now, and so I don't really have any answers for you. But if you post a new question you'll get more feedback.
Thanks for letting me know, Lianne. I'll do as you suggest and ask a new question tomorrow.

Related questions

+12 votes
3 answers
180 views asked Jan 3, 2019 in The Tree House by Steve Harris G2G6 Pilot (408k points)
+5 votes
2 answers
124 views asked Sep 8, 2018 in WikiTree Help by Sheena Tait G2G6 Mach 5 (57.2k points)
+5 votes
2 answers
97 views asked Sep 25, 2019 in WikiTree Help by Chris Orme G2G6 Mach 1 (10.9k points)
+4 votes
3 answers
189 views asked Jan 8, 2019 in WikiTree Tech by John Gilroy G2G1 (1.9k points)
+12 votes
4 answers
+7 votes
0 answers
55 views asked Mar 31, 2017 in The Tree House by Campbell Braddock G2G6 Mach 5 (55.1k points)
+3 votes
1 answer
+4 votes
0 answers
86 views asked Feb 1, 2017 in WikiTree Tech by Peter Roberts G2G6 Pilot (524k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...