Updated mediawiki/extensions Project: mediawiki/extensions/CentralNotice…

Authored by awight.


Updated mediawiki/extensions Project: mediawiki/extensions/CentralNotice c567c1c04470a5e3b95a33774753935859351e6f

Banner diet mixin

Provides the same functionality as [1], but in a mixin. This allows CentralNotice
to avoid loading the banner if it's not going to be displayed, and makes the
configuration knobs available in campaign settings.

[1] https://meta.wikimedia.org/wiki/MediaWiki:CentralNotice/Resources/BannerShowHideCountDate.js


  • In a followup patch, add code which migrates away from cookie to localstorage when available.

Bug: T112017
Change-Id: Ia27bd9e164160eab70f6d42bfee50e50640cbaae

Event Timeline