Index: trunk/extensions/CentralNotice/newCentralNotice.js |
— | — | @@ -32,9 +32,9 @@ |
33 | 33 | }); |
34 | 34 | }, |
35 | 35 | 'loadBannerList': function( timestamp ) { |
36 | | - var listURL; |
| 36 | + var bannerListURL; |
37 | 37 | if ( timestamp ) { |
38 | | - listURL = "TBD" |
| 38 | + bannerListURL = "TBD" |
39 | 39 | } else { |
40 | 40 | // http://geoiplookup.wikimedia.org/ |
41 | 41 | var geoLocation = 'US'; // Hard-coding for now |
Index: trunk/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | }); |
67 | 67 | }, |
68 | 68 | 'loadBannerList': function( timestamp ) { |
69 | | - var listURL; |
| 69 | + var bannerListURL; |
70 | 70 | var geoLocation = Geo.country; // pull the geo info |
71 | 71 | var bannerListPage = 'Special:BannerListLoader?language='+wgContentLanguage+'&project='+wgNoticeProject+'&location='+geoLocation; |
72 | 72 | var bannerListURL = wgArticlePath.replace( '$1', bannerListPage ); |