r44203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44202‎ | r44203 | r44204 >
Date:23:42, 3 December 2008
Author:aaron
Status:deferred
Tags:
Comment:
Fix html syntax error
Modified paths:
  • /trunk/extensions/GoogleAdSense/GoogleAdSense.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GoogleAdSense/GoogleAdSense.class.php
@@ -22,9 +22,11 @@
2323 if( $wgUser->isLoggedIn() && $wgGoogleAdSenseAnonOnly ) {
2424 return $bar;
2525 }
 26+ if( !$wgGoogleAdSenseSrc ) {
 27+ return $bar;
 28+ }
2629
2730 wfLoadExtensionMessages( 'GoogleAdSense' );
28 -
2931 $bar['googleadsense'] = "<script type=\"text/javascript\">
3032 /* <![CDATA[ */
3133 google_ad_client = \"$wgGoogleAdSenseClient\";

Status & tagging log