summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-10-25 14:49:39 +0100
committerPierre Schmitz <pierre@archlinux.de>2009-10-25 14:49:39 +0100
commit3cf4f85208972fdda1c38e03ed8559088cd0c704 (patch)
tree2cf7d03e3e512aa7888c112f9df54f391223cb32 /extensions
parent79559064f599ef36f0001b3fc39ac1c8c39ccae0 (diff)
remove ads plugin
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ArchLinuxAds.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/extensions/ArchLinuxAds.php b/extensions/ArchLinuxAds.php
deleted file mode 100644
index f95288da..00000000
--- a/extensions/ArchLinuxAds.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-$wgExtensionCredits['other'][] = array(
- 'name' => 'ArchLinuxAds',
- 'version' => '1.0',
- 'description' => 'Display ads on wiki.archlinux.org',
- 'author' => 'Pierre Schmitz',
- 'url' => 'http://www.archlinux.org'
-);
-
-$wgHooks['SkinAfterBottomScripts'][] = 'ArchLinuxAds::addAds';
-
-
-class ArchLinuxAds {
-
-public static function addAds($skin, $text) {
- $text .= '<div style="z-index:0; position:absolute; top:40px; right:10px;">
- <script type="text/javascript"><!--
- google_ad_client = "pub-3170555743375154";
- google_ad_width = 468;
- google_ad_height = 60;
- google_ad_format = "468x60_as";
- google_color_border = "ffffff";
- google_color_bg = "ffffff";
- google_color_link = "0771A6";
- google_color_url = "99AACC";
- google_color_text = "000000";
- //--></script>
- <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- </div>';
-
- return true;
-}
-
-}
-
-?>