<?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-fileDownload.js</id>
	<title>MediaWiki:Gadget-fileDownload.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-fileDownload.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;action=history"/>
	<updated>2026-04-20T14:32:09Z</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-fileDownload.js&amp;diff=39061&amp;oldid=prev</id>
		<title>Alex at 16:15, 17 October 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=39061&amp;oldid=prev"/>
		<updated>2024-10-17T16:15:06Z</updated>

		<summary type="html">&lt;p&gt;&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 18:15, 17 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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;&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;/**&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;/**&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; * Adds a download link to file &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.&lt;/del&gt;pages&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; * Adds a download link to file pages&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; * &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; * &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; * @author Gaz Lloyd&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; * @author Gaz Lloyd&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-34618:rev-39061:wikidiff2=table:1.13.0:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=34618&amp;oldid=prev</id>
		<title>Alex at 23:10, 16 October 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=34618&amp;oldid=prev"/>
		<updated>2024-10-16T23:10:19Z</updated>

		<summary type="html">&lt;p&gt;&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 01:10, 17 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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;&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;/**&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;/**&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; * Adds a download link to file pages&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; * Adds a download link to file &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.&lt;/ins&gt;pages&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; * &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; * &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; * @author Gaz Lloyd&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; * @author Gaz Lloyd&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=914&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;/**  * Adds a download link to file pages  *   * @author Gaz Lloyd  */ $(function(){ 	if (!(mw.config.get(&#039;wgNamespaceNumber&#039;) === 6  &amp;&amp; $(&#039;.fullMedia, .filehistory&#039;).length &gt; 0)) { 		return; 	} 	function addLinks() { 		// underneath image - also replace filename with page title 		$(&#039;.fullMedia a.internal&#039;).after( 			&#039; (&#039;, 			$(&#039;&lt;a&gt;&#039;) 				.text(&#039;download&#039;) 				.addClass(&#039;fileDownload&#039;) 				.attr({ 					href: $(&#039;.fullMedia a.internal&#039;).attr(&#039;href&#039;), 					download: mw.conf...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=914&amp;oldid=prev"/>
		<updated>2024-10-13T00:59:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;*  * Adds a download link to file pages  *   * @author Gaz Lloyd: &lt;/span&gt; $(function(){ 	if (!(mw.config.get(&amp;#039;wgNamespaceNumber&amp;#039;) === 6  &amp;amp;&amp;amp; $(&amp;#039;.fullMedia, .filehistory&amp;#039;).length &amp;gt; 0)) { 		return; 	} 	function addLinks() { 		// underneath image - also replace filename with page title 		$(&amp;#039;.fullMedia a.internal&amp;#039;).after( 			&amp;#039; (&amp;#039;, 			$(&amp;#039;&amp;lt;a&amp;gt;&amp;#039;) 				.text(&amp;#039;download&amp;#039;) 				.addClass(&amp;#039;fileDownload&amp;#039;) 				.attr({ 					href: $(&amp;#039;.fullMedia a.internal&amp;#039;).attr(&amp;#039;href&amp;#039;), 					download: mw.conf...&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * Adds a download link to file pages&lt;br /&gt;
 * &lt;br /&gt;
 * @author Gaz Lloyd&lt;br /&gt;
 */&lt;br /&gt;
$(function(){&lt;br /&gt;
	if (!(mw.config.get(&amp;#039;wgNamespaceNumber&amp;#039;) === 6  &amp;amp;&amp;amp; $(&amp;#039;.fullMedia, .filehistory&amp;#039;).length &amp;gt; 0)) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
	function addLinks() {&lt;br /&gt;
		// underneath image - also replace filename with page title&lt;br /&gt;
		$(&amp;#039;.fullMedia a.internal&amp;#039;).after(&lt;br /&gt;
			&amp;#039; (&amp;#039;,&lt;br /&gt;
			$(&amp;#039;&amp;lt;a&amp;gt;&amp;#039;)&lt;br /&gt;
				.text(&amp;#039;download&amp;#039;)&lt;br /&gt;
				.addClass(&amp;#039;fileDownload&amp;#039;)&lt;br /&gt;
				.attr({&lt;br /&gt;
					href: $(&amp;#039;.fullMedia a.internal&amp;#039;).attr(&amp;#039;href&amp;#039;),&lt;br /&gt;
					download: mw.config.get(&amp;#039;wgTitle&amp;#039;).replace(&amp;#039;_&amp;#039;, &amp;#039; &amp;#039;),&lt;br /&gt;
					title: &amp;#039;Download this file&amp;#039;&lt;br /&gt;
				}),&lt;br /&gt;
			&amp;#039;)&amp;#039;&lt;br /&gt;
		);&lt;br /&gt;
		&lt;br /&gt;
		// file history - leave numbers in file name&lt;br /&gt;
		$(&amp;#039;.filehistory tr td[style]&amp;#039;).each(function() {&lt;br /&gt;
			var $this = $(this);&lt;br /&gt;
			$this.append(&lt;br /&gt;
				$(&amp;#039;&amp;lt;br /&amp;gt;&amp;#039;),&lt;br /&gt;
				$(&amp;#039;&amp;lt;a&amp;gt;&amp;#039;)&lt;br /&gt;
					.text(&amp;#039;Download&amp;#039;)&lt;br /&gt;
					.addClass(&amp;#039;fileDownload&amp;#039;)&lt;br /&gt;
					.attr({&lt;br /&gt;
						download: &amp;#039;&amp;#039;,&lt;br /&gt;
						href: $this.find(&amp;#039;a&amp;#039;).attr(&amp;#039;href&amp;#039;),&lt;br /&gt;
						title: &amp;#039;Download this version of this file&amp;#039;&lt;br /&gt;
					})&lt;br /&gt;
			);&lt;br /&gt;
		});&lt;br /&gt;
	}&lt;br /&gt;
	addLinks()&lt;br /&gt;
})&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>