wiki.techinc.nl/resources
Ammar Abdulhamid 14ce139f94 Provide native support to dismiss sitenotice in core.
This patch adds a private method and other mechanisms to handle
generation of dismiss button for site notices (which are already
generated by core).

It also adds the $wgDismissableSiteNoticeForAnons global with its
default as set in the DismissableSiteNotice extension. The plan is,
however, to deprecate it later.

Native support will streamline the sitenotice processing and helps
towards more optimum default MediaWiki experience. It will also
eventually obsoletes the need for an extension to provide this crucial
button as well as remove the overhead of managing such extensions.

Bug: T262118
Bug: T259903
Depends-On: Ib80fc24c84eb333daa016c9816fdf91cc60d3983
Change-Id: I276325dc55fd475655e0212fc256b95ebb41b276
2020-12-22 08:04:44 +01:00
..
assets Update you-should-set-a-logo reminder to point to $wgLogos, not $wgLogo 2020-02-24 18:52:07 +00:00
lib OOUI: Backport I18799e54ef46232a54d36e86e2b3d08c3ee0a3d5 2020-12-10 12:59:33 -08:00
src Provide native support to dismiss sitenotice in core. 2020-12-22 08:04:44 +01:00
Resources.php Provide native support to dismiss sitenotice in core. 2020-12-22 08:04:44 +01:00