Index: trunk/extensions/CentralNotice/CentralNotice.php |
— | — | @@ -148,6 +148,7 @@ |
149 | 149 | $dbr = wfGetDB( DB_SLAVE ); |
150 | 150 | $row = $dbr->selectRow( 'cn_notices', 'not_name', array( 'not_enabled = 1', 'not_geo = 1' ) ); |
151 | 151 | if ( $row ) { |
| 152 | + // Insert the geo IP lookup into the <head> |
152 | 153 | $wgOut->addScriptFile( 'http://geoiplookup.wikimedia.org/' ); |
153 | 154 | } |
154 | 155 | |