<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geministation.com/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.geministation.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-fileDownload.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;action=history"/>
	<updated>2026-06-04T03:24:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=9645&amp;oldid=prev</id>
		<title>MigrationBot: Fix fileDownload gadget JavaScript comment syntax</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=9645&amp;oldid=prev"/>
		<updated>2026-05-04T15:23:36Z</updated>

		<summary type="html">&lt;p&gt;Fix fileDownload gadget JavaScript comment syntax&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 15:23, 4 May 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 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;/*&lt;/ins&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;  * Adds a download link to file pages&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;  * 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;/table&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=4301&amp;oldid=prev</id>
		<title>Banri: Created page with &quot; * Adds a download link to file pages  *   * @author Gaz Lloyd  */ (function($, mw){ 	if (!(mw.config.get(&#039;wgNamespaceNumber&#039;) === 6  &amp;&amp; $(&#039;.fullMedia, .filehistory&#039;).length &gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-fileDownload.js&amp;diff=4301&amp;oldid=prev"/>
		<updated>2020-06-02T22:14:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; * Adds a download link to file pages  *   * @author Gaz Lloyd  */ (function($, mw){ 	if (!(mw.config.get(&amp;#039;wgNamespaceNumber&amp;#039;) === 6  &amp;amp;&amp;amp; $(&amp;#039;.fullMedia, .filehistory&amp;#039;).length &amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; * Adds a download link to file pages&lt;br /&gt;
 * &lt;br /&gt;
 * @author Gaz Lloyd&lt;br /&gt;
 */&lt;br /&gt;
(function($, mw){&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;
})(jQuery, mediaWiki);&lt;/div&gt;</summary>
		<author><name>Banri</name></author>
	</entry>
</feed>