<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bighatstudios.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bighatstudios.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.bighatstudios.com/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-12-02T03:57:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.bighatstudios.com/index.php?title=MediaWiki:Common.js&amp;diff=9116&amp;oldid=prev</id>
		<title>Lucifer WPF: Sync from GitHub</title>
		<link rel="alternate" type="text/html" href="https://wiki.bighatstudios.com/index.php?title=MediaWiki:Common.js&amp;diff=9116&amp;oldid=prev"/>
		<updated>2026-11-02T00:57:46Z</updated>

		<summary type="html">&lt;p&gt;Sync from GitHub&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:57, 2 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/* CinderWiki: filter box and copy buttons on Project:Variables&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/* MediaWiki:Common.js for the CinderRPG wiki. Kept in GitHub&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   Add this to the end of MediaWiki:Common.js (keep anything already there)&lt;/del&gt;. */&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   (LuciferWPF910/CinderRPGWiki, wiki/MediaWiki_Common.js) and saved by the&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   sync script; edit it there, not on the wiki. */&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/* Design kit scripts (tabs). The kit&#039;s own code lives in MediaWiki:CinderKit.js. */&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.loader.load(mw.config.get(&#039;wgScript&#039;) + &#039;?title=MediaWiki:CinderKit.js&amp;amp;action=raw&amp;amp;ctype=text/javascript&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/* CinderWiki: filter box and copy buttons on Project:Variables. */&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function ($content) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function ($content) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	var $tables = $content.find(&amp;#039;table.cw-vars-table&amp;#039;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	var $tables = $content.find(&amp;#039;table.cw-vars-table&amp;#039;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-7714:rev-9116:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Lucifer WPF</name></author>
	</entry>
	<entry>
		<id>https://wiki.bighatstudios.com/index.php?title=MediaWiki:Common.js&amp;diff=7714&amp;oldid=prev</id>
		<title>Lucifer WPF: Sync from GitHub</title>
		<link rel="alternate" type="text/html" href="https://wiki.bighatstudios.com/index.php?title=MediaWiki:Common.js&amp;diff=7714&amp;oldid=prev"/>
		<updated>2026-11-02T00:33:51Z</updated>

		<summary type="html">&lt;p&gt;Sync from GitHub&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* CinderWiki: filter box and copy buttons on Project:Variables.&lt;br /&gt;
   Add this to the end of MediaWiki:Common.js (keep anything already there). */&lt;br /&gt;
mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function ($content) {&lt;br /&gt;
	var $tables = $content.find(&amp;#039;table.cw-vars-table&amp;#039;);&lt;br /&gt;
	if (!$tables.length) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
	var $box = $(&amp;#039;&amp;lt;input type=&amp;quot;search&amp;quot; class=&amp;quot;cw-vars-search&amp;quot;&amp;gt;&amp;#039;)&lt;br /&gt;
		.attr(&amp;#039;placeholder&amp;#039;, &amp;#039;Filter variables...&amp;#039;)&lt;br /&gt;
		.css({ width: &amp;#039;100%&amp;#039;, maxWidth: &amp;#039;30em&amp;#039;, padding: &amp;#039;4px 8px&amp;#039;, margin: &amp;#039;0 0 1em&amp;#039; });&lt;br /&gt;
	$content.find(&amp;#039;.cw-vars-filter&amp;#039;).first().append($box);&lt;br /&gt;
	$box.on(&amp;#039;input&amp;#039;, function () {&lt;br /&gt;
		var q = this.value.toLowerCase();&lt;br /&gt;
		$tables.find(&amp;#039;tr&amp;#039;).each(function () {&lt;br /&gt;
			if ($(this).find(&amp;#039;th&amp;#039;).length) {&lt;br /&gt;
				return;&lt;br /&gt;
			}&lt;br /&gt;
			$(this).toggle(!q || this.textContent.toLowerCase().indexOf(q) !== -1);&lt;br /&gt;
		});&lt;br /&gt;
	});&lt;br /&gt;
	$content.find(&amp;#039;code.cw-vars-code&amp;#039;).each(function () {&lt;br /&gt;
		var $code = $(this);&lt;br /&gt;
		var text = $code.text();&lt;br /&gt;
		var $btn = $(&amp;#039;&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;cw-vars-copy&amp;quot;&amp;gt;Copy&amp;lt;/button&amp;gt;&amp;#039;)&lt;br /&gt;
			.css({ marginLeft: &amp;#039;6px&amp;#039;, fontSize: &amp;#039;85%&amp;#039;, cursor: &amp;#039;pointer&amp;#039; });&lt;br /&gt;
		$btn.on(&amp;#039;click&amp;#039;, function () {&lt;br /&gt;
			var done = function () {&lt;br /&gt;
				$btn.text(&amp;#039;Copied&amp;#039;);&lt;br /&gt;
				setTimeout(function () { $btn.text(&amp;#039;Copy&amp;#039;); }, 1500);&lt;br /&gt;
			};&lt;br /&gt;
			if (navigator.clipboard &amp;amp;&amp;amp; navigator.clipboard.writeText) {&lt;br /&gt;
				navigator.clipboard.writeText(text).then(done, function () { window.prompt(&amp;#039;Copy this:&amp;#039;, text); });&lt;br /&gt;
			} else {&lt;br /&gt;
				window.prompt(&amp;#039;Copy this:&amp;#039;, text);&lt;br /&gt;
			}&lt;br /&gt;
		});&lt;br /&gt;
		$code.after($btn);&lt;br /&gt;
	});&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Lucifer WPF</name></author>
	</entry>
</feed>