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 |
||
|---|---|---|
| .. | ||
| assets | ||
| lib | ||
| src | ||
| Resources.php | ||