<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FSix_tabs</id>
	<title>MyWiki:WikiProject User scripts/Scripts/Six tabs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FSix_tabs"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Six_tabs&amp;action=history"/>
	<updated>2026-04-22T15:17:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Six_tabs&amp;diff=11051810&amp;oldid=prev</id>
		<title>imported&gt;Jon (WMF): &lt;maintenance&gt; more info ReferenceError: addPortletLink is not defined</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Six_tabs&amp;diff=11051810&amp;oldid=prev"/>
		<updated>2025-06-02T16:17:57Z</updated>

		<summary type="html">&lt;p&gt;&amp;lt;maintenance&amp;gt; &lt;a href=&quot;/index.php?title=Meta:User:Jon_(WMF)/Edit_to_user_or_gadget_script&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Meta:User:Jon (WMF)/Edit to user or gadget script (page does not exist)&quot;&gt;more info&lt;/a&gt; ReferenceError: addPortletLink is not defined&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// See [[{{TALKPAGENAME}}|Talk page]]&lt;br /&gt;
if (mw.config.get(&amp;#039;wgNamespaceNumber&amp;#039;) &amp;gt;= 0)&lt;br /&gt;
$(function(){&lt;br /&gt;
 var pCactions = document.getElementById(&amp;#039;p-cactions&amp;#039;);&lt;br /&gt;
 if (!pCactions) return;&lt;br /&gt;
 var caMain = pCactions.getElementsByTagName(&amp;#039;li&amp;#039;)[0];&lt;br /&gt;
 var caTalk = document.getElementById(&amp;#039;ca-talk&amp;#039;);&lt;br /&gt;
 var caEdit = document.getElementById(&amp;#039;ca-edit&amp;#039;);&lt;br /&gt;
 if (!caEdit) caEdit = document.getElementById(&amp;#039;ca-viewsource&amp;#039;);&lt;br /&gt;
 var caHistory = document.getElementById(&amp;#039;ca-history&amp;#039;);&lt;br /&gt;
 if (!caMain || !caTalk || !caEdit || !caHistory) return;&lt;br /&gt;
 var el_move, el_create, id2;&lt;br /&gt;
 if (mw.config.get(&amp;#039;wgNamespaceNumber&amp;#039;) % 2) { //talk space&lt;br /&gt;
   el_move = caTalk; el_create = caMain; id2 = &amp;#039;&amp;#039;;&lt;br /&gt;
 } else {&lt;br /&gt;
   el_move = caMain; el_create = caTalk; id2 = &amp;#039;discussion&amp;#039;;&lt;br /&gt;
 }&lt;br /&gt;
 caEdit.firstChild.innerHTML = &amp;#039;edit&amp;#039;;&lt;br /&gt;
 caHistory.firstChild.innerHTML = &amp;#039;hist&amp;#039;;&lt;br /&gt;
 el_move.parentNode.insertBefore(caHistory, el_move.nextSibling);&lt;br /&gt;
 el_move.parentNode.insertBefore(caEdit, el_move.nextSibling);&lt;br /&gt;
 var href = el_create.firstChild.getAttribute(&amp;#039;href&amp;#039;, 2);&lt;br /&gt;
 if (el_create.className.indexOf(&amp;#039;new&amp;#039;) &amp;lt; 0){&lt;br /&gt;
   mw.util.addPortletLink(&amp;#039;p-cactions&amp;#039;, href + &amp;#039;?action=history&amp;#039;, &amp;#039;hist&amp;#039;,&lt;br /&gt;
     &amp;#039;ca-history-&amp;#039;+id2, id2+&amp;#039; history&amp;#039;, &amp;#039;&amp;#039;, el_create.nextSibling);&lt;br /&gt;
   mw.util.addPortletLink(&amp;#039;p-cactions&amp;#039;, href + &amp;#039;?action=edit&amp;#039;, &amp;#039;edit&amp;#039;,&lt;br /&gt;
     &amp;#039;ca-edit-&amp;#039;+id2, &amp;#039;Edit &amp;#039;+id2, &amp;#039;&amp;#039;, el_create.nextSibling);&lt;br /&gt;
 } &lt;br /&gt;
  caMain.style.marginRight = &amp;#039;0.3em&amp;#039;; &lt;br /&gt;
  caTalk.style.marginRight = &amp;#039;0.3em&amp;#039;; &lt;br /&gt;
  caTalk.style.marginLeft  = &amp;#039;1.6em&amp;#039;; &lt;br /&gt;
})&lt;br /&gt;
//&lt;/div&gt;</summary>
		<author><name>imported&gt;Jon (WMF)</name></author>
	</entry>
</feed>