Index: trunk/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -53,10 +53,8 @@ |
54 | 54 | }, |
55 | 55 | 'fn': { |
56 | 56 | 'loadBanner': function( bannerName ) { |
57 | | - // Get the requested banner from /centralnotice/banners/<bannername>/<wgUserLanguage>.js |
| 57 | + // Get the requested banner |
58 | 58 | var bannerPage = 'Special:BannerLoader?banner='+bannerName+'&userlang='+wgContentLanguage+'&sitename='+wgNoticeProject; |
59 | | - //centralized version: |
60 | | - //var bannerURL = 'http://meta.wikimedia.org/wiki/'+bannerPage; |
61 | 59 | var bannerURL = wgArticlePath.replace( '$1', bannerPage ); |
62 | 60 | var request = $.ajax( { |
63 | 61 | url: bannerURL, |
— | — | @@ -70,8 +68,6 @@ |
71 | 69 | var listURL; |
72 | 70 | var geoLocation = Geo.country; // pull the geo info |
73 | 71 | var bannerListPage = 'Special:BannerListLoader?language='+wgContentLanguage+'&project='+wgNoticeProject+'&location='+geoLocation; |
74 | | - //centralized version: |
75 | | - //var bannerListURL = 'http://meta.wikimedia.org/wiki/'+bannerListPage; |
76 | 72 | var bannerListURL = wgArticlePath.replace( '$1', bannerListPage ); |
77 | 73 | var request = $.ajax( { |
78 | 74 | url: bannerListURL, |