<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/index.php?action=history&amp;feed=atom&amp;title=User%3ASuperHamster%2Fbitcoin.js</id>
	<title>User:SuperHamster/bitcoin.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/index.php?action=history&amp;feed=atom&amp;title=User%3ASuperHamster%2Fbitcoin.js"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:SuperHamster/bitcoin.js&amp;action=history"/>
	<updated>2026-04-24T16:56:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=User:SuperHamster/bitcoin.js&amp;diff=48244&amp;oldid=prev</id>
		<title>SuperHamster: Creating script</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:SuperHamster/bitcoin.js&amp;diff=48244&amp;oldid=prev"/>
		<updated>2014-06-16T20:42:29Z</updated>

		<summary type="html">&lt;p&gt;Creating script&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;//The purpose of this script is to allow users to easily tag images with the appropriate license tag.&lt;br /&gt;
//Upon installing this script, a button will appear to the left of your username in the upper-right-hand corner.&lt;br /&gt;
//Clicking on the link will immediately and automatically edit the page.&lt;br /&gt;
//The edit will replace EVERYTHING with a section header labeled &amp;quot;licensing&amp;quot;, the selected license, and a relevant category.&lt;br /&gt;
//&lt;br /&gt;
//This script was taken from the English Wikipedia. Its authors are:&lt;br /&gt;
///Misza13 originally created this script&lt;br /&gt;
///Voyagerfan5761 performed some minor improvements&lt;br /&gt;
///Xenocidic updated the script to use /Status as a one word indicator&lt;br /&gt;
//This version has been edited by SuperHamster to suit his needs&lt;br /&gt;
 &lt;br /&gt;
addOnloadHook(function (){&lt;br /&gt;
  statusChangerConfig = {}&lt;br /&gt;
  statusChangerConfig.statusList = [ &amp;#039;Fair Use&amp;#039; ];&lt;br /&gt;
  statusChangerConfig.statusPage = wgPageName;&lt;br /&gt;
 &lt;br /&gt;
  //Add the links&lt;br /&gt;
  for (var i=0; i&amp;lt;statusChangerConfig.statusList.length; i++) {&lt;br /&gt;
    var stat = statusChangerConfig.statusList[i];&lt;br /&gt;
    addPortletLink(&lt;br /&gt;
      &amp;quot;p-personal&amp;quot;, //target tab - personal links&lt;br /&gt;
      wgServer + wgScript + &amp;quot;?title=&amp;quot; + statusChangerConfig.statusPage + &amp;quot;&amp;amp;action=edit&amp;amp;newstatus=&amp;quot; + stat, //link URL&lt;br /&gt;
      stat, //link text&lt;br /&gt;
      &amp;quot;pt-status-&amp;quot; + stat, //id of new button&lt;br /&gt;
      &amp;quot;License &amp;quot; + &amp;quot;as &amp;quot; + stat, //hover text&lt;br /&gt;
      &amp;quot;&amp;quot;, //???&lt;br /&gt;
      document.getElementById(&amp;quot;pt-userpage&amp;quot;)); //add before logout button&lt;br /&gt;
  }&lt;br /&gt;
 &lt;br /&gt;
  if (location.href.indexOf(&amp;quot;&amp;amp;action=edit&amp;amp;newstatus=&amp;quot;) == -1) return; //Are we here to auto-edit the status?&lt;br /&gt;
  //Get new status&lt;br /&gt;
  statusRegExp = /&amp;amp;action=edit&amp;amp;newstatus=(.*)/;&lt;br /&gt;
  var status = statusRegExp.exec(location.href)[1];&lt;br /&gt;
  //Modify the form&lt;br /&gt;
  document.getElementById(&amp;#039;wpTextbox1&amp;#039;).value = &amp;quot;{{sub&amp;quot; + &amp;quot;st:User:SuperHamster/Fairuse}}&amp;quot;;&lt;br /&gt;
  document.getElementById(&amp;#039;wpSummary&amp;#039;).value = &amp;quot;Adding licensing information (&amp;quot; + stat + &amp;quot;)&amp;quot;;&lt;br /&gt;
  document.getElementById(&amp;#039;wpMinoredit&amp;#039;).checked = false;&lt;br /&gt;
  //Submit it!&lt;br /&gt;
  document.getElementById(&amp;#039;editform&amp;#039;).submit();&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>SuperHamster</name></author>
	</entry>
</feed>