Hi,
Has anyone modified MediaWiki to include advertisements via <script> or <img> html tags? Not in the main article text but, for example, under the navigation box. Any advice?
On Fri, Oct 29, 2004 at 03:12:52AM +0300, NSK wrote:
Hi,
Has anyone modified MediaWiki to include advertisements via <script> or <img> html tags? Not in the main article text but, for example, under the navigation box. Any advice?
That one is for google Adsense. *** xhtml_slim.pt.~1~ 2004-09-24 23:05:13.000000000 +0200 --- xhtml_slim.pt 2004-10-28 08:11:02.000000000 +0200 *************** *** 131,136 **** --- 131,152 ---- </ul> </div> </div> + <div id="p-advertisement" class="portlet"> + <h5>Advertisement</h5> + <div class="pBody"> + <script type="text/javascript"><!-- + google_ad_width = 120; + google_ad_height = 240; + google_ad_format = "120x240_as"; + google_ad_type = "text_image"; + //--></script> + <script type="text/javascript" + src="http://pagead2.googlesyndication.com/pagead/show_ads.js%22%3E + </script> + </div> + </div>
Hi, thank you very much! For typical reasons, I wanted to ask you whether you have any copyright/patent/whatever claims over the method of this advertising inclusion in MediaWiki? I want to incorporate something similar in a GPLed redistribution of MW1.3.7/8. Thank you, NSK.
On Friday 29 October 2004 10:25, Thomas R. Koll wrote:
*** xhtml_slim.pt.~1~ 2004-09-24 23:05:13.000000000 +0200 --- xhtml_slim.pt 2004-10-28 08:11:02.000000000 +0200
*** 131,136 **** --- 131,152 ---- </ul> </div> </div>
<div id="p-advertisement" class="portlet">
<h5>Advertisement</h5>
<div class="pBody">
<script type="text/javascript"><!--
- google_ad_width = 120;
- google_ad_height = 240;
- google_ad_format = "120x240_as";
- google_ad_type = "text_image";
- //--></script>
<script type="text/javascript"
- src="http://pagead2.googlesyndication.com/pagead/show_ads.js%22%3E
- </script>
</div>
</div>
wikitech-l@lists.wikimedia.org