<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Google_Adsense_MediaWiki_Extension</id>
	<title>Google Adsense MediaWiki Extension - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Google_Adsense_MediaWiki_Extension"/>
	<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Google_Adsense_MediaWiki_Extension&amp;action=history"/>
	<updated>2026-04-21T12:06:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=Google_Adsense_MediaWiki_Extension&amp;diff=119&amp;oldid=prev</id>
		<title>Adam.birds at 13:47, 30 April 2016</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Google_Adsense_MediaWiki_Extension&amp;diff=119&amp;oldid=prev"/>
		<updated>2016-04-30T13:47: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 13:47, 30 April 2016&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-l53&quot; &gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &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; &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; &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;*Remember to disable ad-blocking services such as AdBlock when you want to see if the extension is working!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &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;*Remember to disable ad-blocking services such as AdBlock when you want to see if the extension is working!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&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 colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:MediaWiki]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:PHP]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Linux]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Contents]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=Google_Adsense_MediaWiki_Extension&amp;diff=118&amp;oldid=prev</id>
		<title>Adam.birds: Created page with &quot;'''The Google AdSense extension allows to easily add Google AdSense advertisements to the sidebar of your wiki. This extension requires an account with Google's AdSense.'''  =...&quot;</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Google_Adsense_MediaWiki_Extension&amp;diff=118&amp;oldid=prev"/>
		<updated>2016-04-30T12:22:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;The Google AdSense extension allows to easily add Google AdSense advertisements to the sidebar of your wiki. This extension requires an account with Google&amp;#039;s AdSense.&amp;#039;&amp;#039;&amp;#039;  =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''The Google AdSense extension allows to easily add Google AdSense advertisements to the sidebar of your wiki. This extension requires an account with Google's AdSense.'''&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://www.mediawiki.org/wiki/Special:ExtensionDistributor/GoogleAdSense Download]&amp;lt;/span&amp;gt; and place the file(s) in a directory called '''GoogleAdSense''' in your '''extensions/''' folder.&lt;br /&gt;
*Add the following code at the bottom of your '''LocalSettings.php''' file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
require_once &amp;quot;$IP/extensions/GoogleAdSense/GoogleAdSense.php&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
// Your Publisher ID&lt;br /&gt;
$wgGoogleAdSenseClient = 'pub-8330046405419293';&lt;br /&gt;
// Your AdSense AD Unit ID&lt;br /&gt;
$wgGoogleAdSenseSlot = '1640430293';&lt;br /&gt;
// This can be anything you like&lt;br /&gt;
$wgGoogleAdSenseID = 'yourwiki-2';&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Add any of the optional settings below, if your settings deviate from the defaults:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
// Width of the AdSense box, specified in your AdSense account&lt;br /&gt;
$wgGoogleAdSenseWidth = 120;&lt;br /&gt;
// Height of the AdSense box, specified in your AdSense account&lt;br /&gt;
$wgGoogleAdSenseHeight = 240;&lt;br /&gt;
// Source URL of the AdSense script&lt;br /&gt;
$wgGoogleAdSenseSrc = &amp;quot;https://pagead2.googlesyndication.com/pagead/show_ads.js&amp;quot;;&lt;br /&gt;
// Show the AdSense box only for anonymous users&lt;br /&gt;
$wgGoogleAdSenseAnonOnly = true;&lt;br /&gt;
// Your Publisher ID&lt;br /&gt;
$wgGoogleAdSenseClient = 'replace this with the client name';&lt;br /&gt;
// Your Adsense Ad Unit ID&lt;br /&gt;
$wgGoogleAdSenseSlot = 'replace this with the slot name';&lt;br /&gt;
//This can be anything you like&lt;br /&gt;
$wgGoogleAdSenseID = 'replace this with your ID';&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*If you want to add a &amp;quot;Text/image, 200x200&amp;quot; into the Vector skin you will need to shift the left panel over slightly. Add the following to the '''MediaWiki:Vector.css''' page&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=css&amp;gt;&lt;br /&gt;
#content,&lt;br /&gt;
#footer {&lt;br /&gt;
    margin-left: 11em;&lt;br /&gt;
}&lt;br /&gt;
#left-navigation {&lt;br /&gt;
    left: 11em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The default portlet label &amp;quot;Advertisements&amp;quot; can be changed to &amp;quot;Sponsored Links&amp;quot; on the &amp;quot;MediaWiki:Googleadsense&amp;quot; page. Please note: no other variations are permitted.&lt;br /&gt;
&lt;br /&gt;
*Remember to disable ad-blocking services such as AdBlock when you want to see if the extension is working!&lt;/div&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
</feed>