Mwalker has submitted this change and it was merged. Change subject: Skip the banner list loading request ......................................................................
Skip the banner list loading request * No skin change required * New global "wgCentralBannerDispatcher" specifies where to find the BannerLoader. Leaving false will fallback to the special page on the wiki itself. Note that the campaign config will be loaded from the wiki hosting the bannerloader, so WMF wikis will want to dispatch from meta. * BannerLoader performs random banner selection, using the "n" param which is hardcoded 1-30 for now. * BannerListLoader is deprecated, but remains in the backend until the old bannerController is completely purged from caches. * BannerAllocation reflects the true, quantized probabilities. Change-Id: Idb9df8c3cd5915fa96b6d6a05d5f5f25830818a7 --- M CentralNotice.php M includes/BannerChooser.php M modules/ext.centralNotice.bannerController/bannerController.js M special/SpecialBannerListLoader.php M special/SpecialBannerLoader.php 5 files changed, 139 insertions(+), 164 deletions(-) Approvals: Mwalker: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/28235 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Idb9df8c3cd5915fa96b6d6a05d5f5f25830818a7 Gerrit-PatchSet: 15 Gerrit-Project: mediawiki/extensions/CentralNotice Gerrit-Branch: master Gerrit-Owner: Adamw <awi...@wikimedia.org> Gerrit-Reviewer: Adamw <awi...@wikimedia.org> Gerrit-Reviewer: Kaldari <rkald...@wikimedia.org> Gerrit-Reviewer: Mwalker <mwal...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits