MediaWiki:Common.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.

20 August 2025

  • curprev 10:1310:13, 20 August 2025Wikiflux talk contribs 913 bytes +913 Created page with "// Auto‑show Template:Draft at the top of every Draft: page mw.hook('wikipage.content').add(function ($content) { if (mw.config.get('wgNamespaceNumber') !== 118) return; // 118 = Draft var $spot = $('#contentSub'); // below title, above page content if (!$spot.length) $spot = $content; // fallback // prevent duplicate insert if ($('#draft-banner').length) return; // Create a placeholder box var $box = $('<div id="draft-banner"></div>'); $box.insertBef..."