Skip to content

Releases: theapplewiki/mediawiki-extensions-Details

1.2

05 Nov 15:09
9005c44
Compare
Choose a tag to compare
  • Adds support for MediaWiki 1.39 and 1.40. As these versions don’t use the Codex system, colors and other values will be hardcoded to sensible defaults. You can override these to match the color scheme of your skin(s) in your wiki’s CSS if needed.
  • Adds a configuration option, $wgDetailsMWCollapsibleCompatibility. This can be set to false to disable all CSS and JavaScript injected by the extension, leaving all styling and behavior at the browser’s defaults.

Both changes were contributed by @alistair3149 - thanks!

1.1.1

30 Jul 04:22
552b4de
Compare
Choose a tag to compare
  • Tweaks to .wikicollapse styling:
    • Adds a subtle border radius
    • Fixes overflow when a background is set on summary
    • summary now disables selection, to act more like a button
    • Bottom margin of the summary is uncollapsed when the details is opened to improve visual balancing, especially when a background is set on summary
    • Fixes width overflowing beyond 100% of container, due to incorrect CSS box-sizing mode

1.1

29 Jul 16:39
774974b
Compare
Choose a tag to compare
1.1
  • Adds a wikicollapse class, which can be used via <details class="wikicollapse"> to style the element with a layout similar to Wikipedia’s {{Collapse}}. You likely want to use this in most cases.
  • A non-standard parameter of <details open="no"> (and other falsy values) can now be used. This is to allow templates to negate the open attribute.
  • A non-standard parameter of <details part="…" /> can be used to create split templates, a format used in the {{Collapse top}} and {{Collapse bottom}} templates, but not supported by this extension due to limitations of MediaWiki’s parser. part should be head, foot, or not set at all. This is currently not compatible with Parsoid.
  • In browsers that don’t support “hidden until found” (currently only supported in Chrome 97+), if the anchor specified by the URL hash is inside a <details>, the extension now automatically expands all containing <details> elements.
  • MediaWiki 1.41+ is now strictly required, due to use of Codex tokens.

1.0

29 Jul 12:00
3cb0f62
Compare
Choose a tag to compare
1.0
  • Initial release