MediaWiki:Gadget-tilemarkers-core.js: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

13 October 2024

  • curprev 02:1002:10, 13 October 2024Alex talk contribs 703 bytes +703 Created page with "var ACTIVE_TEXT = 'Copied' var DEFAULT_TEXT = 'Copy tile markers' function onClick(button) { t = button.$element[0] navigator.clipboard.writeText(t.nextElementSibling.innerHTML); // Set the copied state and queue changing back button.setLabel(ACTIVE_TEXT); button.setIcon('check') setTimeout(function() { button.setLabel(DEFAULT_TEXT); button.setIcon(null) }, 3000) } function createButton() { button = new OO.ui.ButtonWidget({ label: DEFAULT_TEXT,..."