<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://crossthehurdles.org/cth/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://crossthehurdles.org/cth/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-10-24T12:19:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;diff=907&amp;oldid=prev</id>
		<title>Lalit Kumar at 04:01, 7 September 2010</title>
		<link rel="alternate" type="text/html" href="https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;diff=907&amp;oldid=prev"/>
		<updated>2010-09-07T04:01:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:01, 7 September 2010&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-l55&quot; &gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;function CustomizeModificationsOfSidebar() {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;function CustomizeModificationsOfSidebar() {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //adds &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Special:CategoryTree]] &lt;/del&gt;to toolbox&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //adds to toolbox&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CategoryTree&lt;/del&gt;&amp;quot;, &amp;quot;http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;en&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;wikipedia.org&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;wiki&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Special:CategoryTree&amp;quot;);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Recent Changes&lt;/ins&gt;&amp;quot;, &amp;quot;http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;crossthehurdles&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cth&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;index.php?title=&lt;/ins&gt;Special:RecentChanges&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;Recent Changes&amp;quot;, &amp;quot;&lt;/del&gt;Special:RecentChanges&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //removes [[Special:Upload]] from toolbox&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //removes [[Special:Upload]] from toolbox&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lalit Kumar</name></author>
		
	</entry>
	<entry>
		<id>https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;diff=906&amp;oldid=prev</id>
		<title>Lalit Kumar at 03:59, 7 September 2010</title>
		<link rel="alternate" type="text/html" href="https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;diff=906&amp;oldid=prev"/>
		<updated>2010-09-07T03:59:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:59, 7 September 2010&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-l57&quot; &gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //adds [[Special:CategoryTree]] to toolbox&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //adds [[Special:CategoryTree]] to toolbox&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;CategoryTree&amp;quot;, &amp;quot;http://en.wikipedia.org/wiki/Special:CategoryTree&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;CategoryTree&amp;quot;, &amp;quot;http://en.wikipedia.org/wiki/Special:CategoryTree&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;Recent Changes&amp;quot;, &amp;quot;Special:RecentChanges&amp;quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //removes [[Special:Upload]] from toolbox&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160;&amp;#160; &amp;#160; //removes [[Special:Upload]] from toolbox&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160;&amp;#160; &amp;#160; ModifySidebar(&amp;quot;remove&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;Upload file&amp;quot;, &amp;quot;http://en.wikipedia.org/wiki/Special:Upload&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160;&amp;#160; &amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;//&lt;/ins&gt;ModifySidebar(&amp;quot;remove&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;Upload file&amp;quot;, &amp;quot;http://en.wikipedia.org/wiki/Special:Upload&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;addOnloadHook(CustomizeModificationsOfSidebar);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;addOnloadHook(CustomizeModificationsOfSidebar);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lalit Kumar</name></author>
		
	</entry>
	<entry>
		<id>https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;diff=904&amp;oldid=prev</id>
		<title>Lalit Kumar: Created page with '/* Any JavaScript here will be loaded for all users on every page load. */ function ModifySidebar(action, section, name, link) {     try {         switch (section) {           ca…'</title>
		<link rel="alternate" type="text/html" href="https://crossthehurdles.org/cth/index.php?title=MediaWiki:Common.js&amp;diff=904&amp;oldid=prev"/>
		<updated>2010-09-07T03:56:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Any JavaScript here will be loaded for all users on every page load.: &lt;/span&gt; function ModifySidebar(action, section, name, link) {     try {         switch (section) {           ca…&amp;#039;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
function ModifySidebar(action, section, name, link) {&lt;br /&gt;
    try {&lt;br /&gt;
        switch (section) {&lt;br /&gt;
          case &amp;quot;languages&amp;quot;:&lt;br /&gt;
            var target = &amp;quot;p-lang&amp;quot;;&lt;br /&gt;
            break;&lt;br /&gt;
          case &amp;quot;toolbox&amp;quot;:&lt;br /&gt;
            var target = &amp;quot;p-tb&amp;quot;;&lt;br /&gt;
            break;&lt;br /&gt;
          case &amp;quot;navigation&amp;quot;:&lt;br /&gt;
            var target = &amp;quot;p-navigation&amp;quot;;&lt;br /&gt;
            break;&lt;br /&gt;
          default:&lt;br /&gt;
            var target = &amp;quot;p-&amp;quot; + section;&lt;br /&gt;
            break;&lt;br /&gt;
        }&lt;br /&gt;
 &lt;br /&gt;
        if (action == &amp;quot;add&amp;quot;) {&lt;br /&gt;
            var node = document.getElementById(target)&lt;br /&gt;
                               .getElementsByTagName('div')[0]&lt;br /&gt;
                               .getElementsByTagName('ul')[0];&lt;br /&gt;
 &lt;br /&gt;
            var aNode = document.createElement('a');&lt;br /&gt;
            var liNode = document.createElement('li');&lt;br /&gt;
 &lt;br /&gt;
            aNode.appendChild(document.createTextNode(name));&lt;br /&gt;
            aNode.setAttribute('href', link);&lt;br /&gt;
            liNode.appendChild(aNode);&lt;br /&gt;
            liNode.className='plainlinks';&lt;br /&gt;
            node.appendChild(liNode);&lt;br /&gt;
        }&lt;br /&gt;
 &lt;br /&gt;
        if (action == &amp;quot;remove&amp;quot;) {&lt;br /&gt;
            var list = document.getElementById(target)&lt;br /&gt;
                               .getElementsByTagName('div')[0]&lt;br /&gt;
                               .getElementsByTagName('ul')[0];&lt;br /&gt;
 &lt;br /&gt;
            var listelements = list.getElementsByTagName('li');&lt;br /&gt;
 &lt;br /&gt;
            for (var i = 0; i &amp;lt; listelements.length; i++) {&lt;br /&gt;
                if (listelements[i].getElementsByTagName('a')[0].innerHTML == name ||&lt;br /&gt;
                    listelements[i].getElementsByTagName('a')[0].href == link) {&lt;br /&gt;
 &lt;br /&gt;
                    list.removeChild(listelements[i]);&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
 &lt;br /&gt;
    } catch(e) {&lt;br /&gt;
      // lets just ignore what's happened&lt;br /&gt;
      return;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
function CustomizeModificationsOfSidebar() {&lt;br /&gt;
    //adds [[Special:CategoryTree]] to toolbox&lt;br /&gt;
    ModifySidebar(&amp;quot;add&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;CategoryTree&amp;quot;, &amp;quot;http://en.wikipedia.org/wiki/Special:CategoryTree&amp;quot;);&lt;br /&gt;
    //removes [[Special:Upload]] from toolbox&lt;br /&gt;
    ModifySidebar(&amp;quot;remove&amp;quot;, &amp;quot;toolbox&amp;quot;, &amp;quot;Upload file&amp;quot;, &amp;quot;http://en.wikipedia.org/wiki/Special:Upload&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
addOnloadHook(CustomizeModificationsOfSidebar);&lt;/div&gt;</summary>
		<author><name>Lalit Kumar</name></author>
		
	</entry>
</feed>