<?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%2FUser_tabs</id>
	<title>MyWiki:WikiProject User scripts/Scripts/User 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%2FUser_tabs"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/User_tabs&amp;action=history"/>
	<updated>2026-04-22T14:50:46Z</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/User_tabs&amp;diff=12257496&amp;oldid=prev</id>
		<title>imported&gt;SD0001: addPortletLink -&gt; mw.util.addPortletLink, and other fixes</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/User_tabs&amp;diff=12257496&amp;oldid=prev"/>
		<updated>2025-09-17T14:03:29Z</updated>

		<summary type="html">&lt;p&gt;addPortletLink -&amp;gt; mw.util.addPortletLink, and other fixes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// Please leave the following line&lt;br /&gt;
// [[user:Where/usertabs]]&lt;br /&gt;
 &lt;br /&gt;
$.when($.ready, mw.loader.using(&amp;#039;mediawiki.util&amp;#039;)).then(function() {&lt;br /&gt;
  if (mw.config.get(&amp;#039;wgTitle&amp;#039;).includes(&amp;quot;/&amp;quot;) || mw.config.get(&amp;#039;wgAction&amp;#039;) !== &amp;#039;history&amp;#039;)  // no subpages or history&lt;br /&gt;
     return;&lt;br /&gt;
  if (mw.config.get(&amp;#039;wgCanonicalNamespace&amp;#039;) == &amp;quot;User&amp;quot; || mw.config.get(&amp;#039;wgCanonicalNamespace&amp;#039;) == &amp;quot;User_talk&amp;quot;) {&lt;br /&gt;
     var username = encodeURIComponent( mw.config.get(&amp;#039;wgTitle&amp;#039;) );&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/wiki/Special:Contributions/&amp;quot; + username, &amp;quot;Contribs&amp;quot;, &amp;quot;ca-contrib&amp;quot;, &amp;quot;User contributions&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;,&amp;quot;http://tools.wmflabs.org/xtools/pcount/index.php?name=&amp;quot; + username + &amp;quot;&amp;amp;wiki=wikipedia&amp;amp;lang=en&amp;quot;, &amp;quot;Edit count&amp;quot;, &amp;quot;ca-editcount&amp;quot;, &amp;quot;Edit count&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/w/index.php?title=Special:Log&amp;amp;type=move&amp;amp;user=&amp;quot; + username, &amp;quot;Page moves&amp;quot;, &amp;quot;ca-pagemoves&amp;quot;, &amp;quot;Page moves by this user&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/w/index.php?title=Special:Log&amp;amp;type=block&amp;amp;page=User:&amp;quot; + username, &amp;quot;Blocks received&amp;quot;, &amp;quot;ca-blog&amp;quot;, &amp;quot;Blocks received by this user&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/w/index.php?title=Special:Prefixindex&amp;amp;from=&amp;quot; + username + &amp;quot;&amp;amp;namespace=2&amp;quot;, &amp;quot;Userspace&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;List of pages in this user&amp;#039;s userspace&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/w/index.php?title=Special:Log&amp;amp;type=block&amp;amp;user=&amp;quot; + username, &amp;quot;Blocks given&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;Blocks by this user&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/w/index.php?title=Special:Log&amp;amp;type=protect&amp;amp;user=&amp;quot; + username, &amp;quot;Protections&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;Protections by this user&amp;quot;);&lt;br /&gt;
     mw.util.addPortletLink(&amp;quot;p-cactions&amp;quot;, mw.config.get(&amp;#039;wgServer&amp;#039;) + &amp;quot;/w/index.php?title=Special:Log&amp;amp;type=delete&amp;amp;user=&amp;quot; + username, &amp;quot;Deletions&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;Deletions by this user&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
// &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;SD0001</name></author>
	</entry>
</feed>