Next request after T387395: Merge master into wmf_deploy (Feb 26, 2025)
TLDR being that CN is creating logspam on PHP 8.1, mostly noted as subtasks under T379874: ☂ PHP 8.1 issues found during WMF rollout/ramp up as somewhat of a blocker for T319432: Migrate WMF production from PHP 7.4 to PHP 8.1.
https://github.com/wikimedia/mediawiki-extensions-CentralNotice/compare/wmf_deploy...master
Relevant bugs (including, but not limited to):
- T388322: PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
- T388468: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated (via CentralNoticeCampaignLogPager)
- T388900: PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
- T389020: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated (via CampaignLog)
- T389261: PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated
- T389348: Migrate CentralNotice to virtual domains
Not PHP 8.1 related, but the CN fix for T373738: Audit special pages used on the SUL3 shared login domain for disallowing user JS/T373737: Disable irrelevant extensions on SUL3 login domain would be good to get out sooner rather than later.
Some MW deprecation related updates too:
- T390040: PHP Deprecated: Use of MediaWiki\Output\OutputPage::parserOptions was deprecated in MediaWiki 1.44. [Called from CentralNotice::outputListOfNotices]
- T390041: PHP Deprecated: Use of MediaWiki\Output\OutputPage::parserOptions was deprecated in MediaWiki 1.44. [Called from SpecialCentralNoticeBanners::showBannerEditor]
- T350626: Remove 'options' arguments to ParserOutput::getText()