MediaWiki:Gadget-EtytreeZoom.js: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 November 2025

30 September 2025

  • curprev 17:0817:08, 30 September 2025 wikt>Ioaxxere 2,046 bytes +2,046 Created page with "// <nowiki> const elem = s => document.createRange().createContextualFragment(s).firstChild; // helper mw.util.addCSS(` .etytree-scale { position: absolute; right: 0; padding: 0.5em; z-index: 100; } .etytree { position: relative; } .etytree-body { transform-origin: top left; } `); function zoomOut(tree) { let navContent = tree.parentElement; let scale = navContent.clientWidth / tree.scrollWidth; tree.style.transform = `scale(${scale})`; navCont..."