Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

add support for collapsible tables #2103

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

add support for collapsible tables #2103

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: richlv[at]nakts.net
[Submitted to the original trac issue database at 9.35am, Monday, 27th July 2009]

it has been requested on talk-lv mailing list that collapsible tables should be supported (to be used in pages like http://wiki.openstreetmap.org/wiki/WikiProject_Latvia/Latvijas_pilstas).

according to http://www.mediawiki.org/wiki/Manual:NavFrame , code should be added to MediaWiki:Common.js and MediaWiki:Common.css pages.

@openstreetmap-trac
Copy link
Author

Author: openstreetmap[at]firefishy.com
[Added to the original trac issue at 11.57am, Monday, 27th July 2009]

I assume you mean the wiki.
Already supported, see: http://wiki.openstreetmap.org/wiki/MediaWiki:Common.js and usage example: http://wiki.openstreetmap.org/index.php?title=Template:Languages/Interface

@openstreetmap-trac
Copy link
Author

Author: richlv[at]nakts.net
[Added to the original trac issue at 12.15pm, Monday, 27th July 2009]

hmm. i looked at .js and .css before, only found some stuff about languagebar.

what meant, it would be nice to have an easy to use functionality for collapsible tables - something as simple as '{| class="wikitable collapsible"'. that doesn't seem to work on the osm wiki.

i looked at the languages template, and, well, for a non-coder it's a mess. i couldn't figure out how to use it properly, so i tried to copy those

tags, which sort of showed 'hide' link, which did nothing...

additionally, mediawiki examples show ability to collapse subtables, which is really desirable here - not sure whether/how that is possible with osm wiki currently.

@openstreetmap-trac
Copy link
Author

Author: Raitisx
[Added to the original trac issue at 7.49am, Saturday, 25th August 2012]

"it would be nice to have an easy to use functionality for collapsible tables - something as simple as '{| class="wikitable collapsible"'. that doesn't seem to work on the osm wiki."

3 years and still does not work...

@openstreetmap-trac
Copy link
Author

Author: openstreetmap[at]firefishy.com
[Added to the original trac issue at 7.11am, Tuesday, 10th September 2013]

This module is in MediaWiki core by default as of MediaWiki 1.18 and higher. We are running MW 1.21.

Re-open if still an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant