<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-tilemarkers-core.js</id>
	<title>MediaWiki:Gadget-tilemarkers-core.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-tilemarkers-core.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-tilemarkers-core.js&amp;action=history"/>
	<updated>2026-05-28T04:55:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-tilemarkers-core.js&amp;diff=948&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;var ACTIVE_TEXT = &#039;Copied&#039; var DEFAULT_TEXT = &#039;Copy tile markers&#039;  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(&#039;check&#039;)     setTimeout(function() { button.setLabel(DEFAULT_TEXT); button.setIcon(null) }, 3000) }  function createButton() { 	button = new OO.ui.ButtonWidget({         label: DEFAULT_TEXT,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-tilemarkers-core.js&amp;diff=948&amp;oldid=prev"/>
		<updated>2024-10-13T01:10:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;var ACTIVE_TEXT = &amp;#039;Copied&amp;#039; var DEFAULT_TEXT = &amp;#039;Copy tile markers&amp;#039;  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(&amp;#039;check&amp;#039;)     setTimeout(function() { button.setLabel(DEFAULT_TEXT); button.setIcon(null) }, 3000) }  function createButton() { 	button = new OO.ui.ButtonWidget({         label: DEFAULT_TEXT,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;var ACTIVE_TEXT = &amp;#039;Copied&amp;#039;&lt;br /&gt;
var DEFAULT_TEXT = &amp;#039;Copy tile markers&amp;#039;&lt;br /&gt;
&lt;br /&gt;
function onClick(button) {&lt;br /&gt;
    t = button.$element[0]&lt;br /&gt;
	navigator.clipboard.writeText(t.nextElementSibling.innerHTML);&lt;br /&gt;
	&lt;br /&gt;
	// Set the copied state and queue changing back&lt;br /&gt;
    button.setLabel(ACTIVE_TEXT); button.setIcon(&amp;#039;check&amp;#039;)&lt;br /&gt;
    setTimeout(function() { button.setLabel(DEFAULT_TEXT); button.setIcon(null) }, 3000)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function createButton() {&lt;br /&gt;
	button = new OO.ui.ButtonWidget({&lt;br /&gt;
        label: DEFAULT_TEXT,&lt;br /&gt;
        flags: [&amp;#039;primary&amp;#039;, &amp;#039;progressive&amp;#039;],&lt;br /&gt;
        classes: [&amp;#039;tile-marker-button&amp;#039;]&lt;br /&gt;
    });&lt;br /&gt;
    button.on(&amp;#039;click&amp;#039;, onClick, [button])&lt;br /&gt;
    return button&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$(&amp;#039;.tilemarker-div&amp;#039;).before(function() { return createButton().$element})&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>