
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.hh.se/ceres/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hh.se/ceres/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://wiki.hh.se/ceres/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
		<link rel="alternate" type="text/html" href="https://wiki.hh.se/ceres/index.php?title=MediaWiki:Common.js&amp;action=history"/>
		<updated>2026-04-03T18:23:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://wiki.hh.se/ceres/index.php?title=MediaWiki:Common.js&amp;diff=4340&amp;oldid=prev</id>
		<title>Nicholas at 13:32, 26 June 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.hh.se/ceres/index.php?title=MediaWiki:Common.js&amp;diff=4340&amp;oldid=prev"/>
				<updated>2014-06-26T13:32:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:32, 26 June 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;console.info(&amp;quot;anon&amp;quot;); //gives an info message with an 'i' in front of the message&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;console.info(&amp;quot;anon&amp;quot;); //gives an info message with an 'i' in front of the message&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if (str.match(patt1)) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if (str.match(patt1)) {&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:black; 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;document.location.href=&amp;quot;http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;islab&lt;/del&gt;.hh.se/mediawiki/&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;document.location.href=&amp;quot;http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ceres&lt;/ins&gt;.hh.se/mediawiki/&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;console.info(&amp;quot;anon+internal&amp;quot;); //gives an info message with an 'i' in front of the message&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;console.info(&amp;quot;anon+internal&amp;quot;); //gives an info message with an 'i' in front of the message&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:black; 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;$jq(window).attr(&amp;quot;location&amp;quot;,&amp;quot;http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;islab&lt;/del&gt;.hh.se/mediawiki/&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;$jq(window).attr(&amp;quot;location&amp;quot;,&amp;quot;http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ceres&lt;/ins&gt;.hh.se/mediawiki/&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:black; 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;var url = &amp;quot;http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;islab&lt;/del&gt;.hh.se/mediawiki/&amp;quot;;&amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;var url = &amp;quot;http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ceres&lt;/ins&gt;.hh.se/mediawiki/&amp;quot;;&amp;#160; &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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$(location).attr('href',url);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$(location).attr('href',url);&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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>Nicholas</name></author>	</entry>

	<entry>
		<id>https://wiki.hh.se/ceres/index.php?title=MediaWiki:Common.js&amp;diff=4325&amp;oldid=prev</id>
		<title>Nicholas: Created page with &quot;  /* Any JavaScript here will be loaded for all users on every page load. */  jQuery(function($){  console.info(&quot;all&quot;); //gives an info message with an 'i' in front of the mes...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hh.se/ceres/index.php?title=MediaWiki:Common.js&amp;diff=4325&amp;oldid=prev"/>
				<updated>2014-06-26T12:52:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  ‎&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;  jQuery(function($){  console.info(&amp;quot;all&amp;quot;); //gives an info message with an &amp;#039;i&amp;#039; in front of the mes...&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
&lt;br /&gt;
jQuery(function($){ &lt;br /&gt;
console.info(&amp;quot;all&amp;quot;); //gives an info message with an 'i' in front of the message&lt;br /&gt;
console.info(mw.config.get( 'wgUserId' )); //gives an info message with an 'i' in front of the message&lt;br /&gt;
&lt;br /&gt;
if ( mw.config.get( 'wgUserId' ) == null) {&lt;br /&gt;
var str = mw.config.get( 'wgTitle' );&lt;br /&gt;
var patt1=/Internal/gi;&lt;br /&gt;
console.info(&amp;quot;anon&amp;quot;); //gives an info message with an 'i' in front of the message&lt;br /&gt;
if (str.match(patt1)) {&lt;br /&gt;
document.location.href=&amp;quot;http://islab.hh.se/mediawiki/&amp;quot;;&lt;br /&gt;
console.info(&amp;quot;anon+internal&amp;quot;); //gives an info message with an 'i' in front of the message&lt;br /&gt;
$jq(window).attr(&amp;quot;location&amp;quot;,&amp;quot;http://islab.hh.se/mediawiki/&amp;quot;);&lt;br /&gt;
var url = &amp;quot;http://islab.hh.se/mediawiki/&amp;quot;;    &lt;br /&gt;
$(location).attr('href',url);&lt;br /&gt;
}&lt;br /&gt;
mw.util.addCSS( 'div.hidden_not_loggedin{display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#p-tb { display: none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#contentSub { display: none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-protect{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-watch{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-purge{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-history{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-delete{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-move{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-edit{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-talk{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-nstab-main{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '.editsection{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( 'div#footer{ display:none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#p-Internal { display: none!important; }' );&lt;br /&gt;
mw.util.addCSS( '#ca-viewsource { display: none!important;}' );&lt;br /&gt;
mw.util.addCSS( '#ca-form_edit { display: none!important;}' );&lt;br /&gt;
mw.util.addCSS( '#jump-to-nav { display: none!important;}' );&lt;br /&gt;
mw.util.addCSS( '#mw-editsection-bracket { display: none!important;}' );&lt;br /&gt;
mw.util.addCSS( '.printfooter { display: none!important;}' );&lt;br /&gt;
mw.util.addCSS( '.mw-jump { display: none!important;}' );&lt;br /&gt;
 }  } );&lt;/div&gt;</summary>
		<author><name>Nicholas</name></author>	</entry>

	</feed>