http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73974
Revision: 73974
Author: kaldari
Date: 2010-09-29 19:08:54 +0000 (Wed, 29 Sep 2010)
Log Message:
-----------
restoring comment accidently deleted in r73973
Modified Paths:
--------------
trunk/extensions/CentralNotice/CentralNotice.php
Modified: trunk/extensions/CentralNotice/CentralNotice.php
===================================================================
--- trunk/extensions/CentralNotice/CentralNotice.php 2010-09-29 19:06:40 UTC
(rev 73973)
+++ trunk/extensions/CentralNotice/CentralNotice.php 2010-09-29 19:08:54 UTC
(rev 73974)
@@ -148,6 +148,7 @@
$dbr = wfGetDB( DB_SLAVE );
$row = $dbr->selectRow( 'cn_notices', 'not_name', array( 'not_enabled =
1', 'not_geo = 1' ) );
if ( $row ) {
+ // Insert the geo IP lookup into the <head>
$wgOut->addScriptFile( 'http://geoiplookup.wikimedia.org/' );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs