Mwalker has uploaded a new change for review. Change subject: CentralNotice bugfix for Bugzilla #41862 ......................................................................
CentralNotice bugfix for Bugzilla #41862 Floating point error was catching us out near slot boundries. This new algorithm attempts to minimize FP error by sticking to integer math where possible. This specifically fixes a case of 5 banners with 1/5 allocation. Change-Id: Ia02e0163fe9aa057219b6e5513e61cb31e5d0444 --- M includes/BannerChooser.php 1 file changed, 22 insertions(+), 22 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice refs/changes/17/32317/1 -- To view, visit https://gerrit.wikimedia.org/r/32317 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia02e0163fe9aa057219b6e5513e61cb31e5d0444 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CentralNotice Gerrit-Branch: master Gerrit-Owner: Mwalker <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
