http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72997
Revision: 72997
Author: kaldari
Date: 2010-09-14 17:36:11 +0000 (Tue, 14 Sep 2010)
Log Message:
-----------
fixing incomplete var rename from r72698
Modified Paths:
--------------
trunk/extensions/CentralNotice/SpecialBannerController.php
trunk/extensions/CentralNotice/newCentralNotice.js
Modified: trunk/extensions/CentralNotice/SpecialBannerController.php
===================================================================
--- trunk/extensions/CentralNotice/SpecialBannerController.php 2010-09-14
17:25:56 UTC (rev 72996)
+++ trunk/extensions/CentralNotice/SpecialBannerController.php 2010-09-14
17:36:11 UTC (rev 72997)
@@ -65,7 +65,7 @@
});
},
'loadBannerList': function( timestamp ) {
- var listURL;
+ var bannerListURL;
var geoLocation = Geo.country; // pull the geo
info
var bannerListPage =
'Special:BannerListLoader?language='+wgContentLanguage+'&project='+wgNoticeProject+'&location='+geoLocation;
var bannerListURL = wgArticlePath.replace(
'$1', bannerListPage );
Modified: trunk/extensions/CentralNotice/newCentralNotice.js
===================================================================
--- trunk/extensions/CentralNotice/newCentralNotice.js 2010-09-14 17:25:56 UTC
(rev 72996)
+++ trunk/extensions/CentralNotice/newCentralNotice.js 2010-09-14 17:36:11 UTC
(rev 72997)
@@ -32,9 +32,9 @@
});
},
'loadBannerList': function( timestamp ) {
- var listURL;
+ var bannerListURL;
if ( timestamp ) {
- listURL = "TBD"
+ bannerListURL = "TBD"
} else {
// http://geoiplookup.wikimedia.org/
var geoLocation = 'US'; // Hard-coding
for now
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs