Page MenuHomePhabricator

MediaWiki-extensions-CentralNoticeComponent
ActivePublic

Details

Description

Centralised notice extension (Homepage)

To make a confidential Fundraising task, visible only to members of acl*WMF-FR click here: https://phabricator.wikimedia.org/maniphest/task/create/?template=89899

Recent Activity

Yesterday

LGoto moved T388248: Outreachy Application Task (Round 30): Setup Frontend Web App for interactive banner design from Project Proposals to Pending Intern Proposals on the Outreachy (Round 30) board.
Fri, May 23, 7:26 PM · MediaWiki-extensions-CentralNotice, Developer-Outreach, Outreachy (Round 30)

Wed, May 21

Jdlrobson-WMF updated the task description for T380079: This page is using the deprecated ResourceLoader module "mediawiki.Uri" on page load.
Wed, May 21, 5:58 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MW-1.44-release, Fundraising-Backlog, Patch-For-Review, MediaWiki-extensions-CentralNotice, ContentTranslation
Physikerwelt closed T381310: Math Popup not working in newer version of Popup-Extension, a subtask of T380079: This page is using the deprecated ResourceLoader module "mediawiki.Uri" on page load, as Resolved.
Wed, May 21, 5:06 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MW-1.44-release, Fundraising-Backlog, Patch-For-Review, MediaWiki-extensions-CentralNotice, ContentTranslation

Tue, May 20

Maintenance_bot removed a project from T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher]: Patch-For-Review.
Tue, May 20, 9:31 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Stashbot added a comment to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher].

Mentioned in SAL (#wikimedia-operations) [2025-05-20T21:06:31Z] <jforrester@deploy1003> Finished scap sync-world: Backport for [[gerrit:1145867|TransformHandler: Return 400 for invalid titles (T394270)]], [[gerrit:1146631|Merge remote-tracking branch 'origin/master' into wmf_deploy (T341775 T373017 T393122 T394404)]], [[gerrit:1146654|Xml::input, label: Replace usage with Html::input, label (T394025)]] (duration: 11m 28s)

Tue, May 20, 9:06 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Jdforrester-WMF closed T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher] as Resolved.

Should now be fixed.

Tue, May 20, 9:06 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
ReleaseTaggerBot added a project to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher]: MW-1.45-notes (1.45.0-wmf.1; 2025-05-13).
Tue, May 20, 9:01 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Stashbot added a comment to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher].

Mentioned in SAL (#wikimedia-operations) [2025-05-20T20:57:41Z] <jforrester@deploy1003> mszabo, jforrester: Backport for [[gerrit:1145867|TransformHandler: Return 400 for invalid titles (T394270)]], [[gerrit:1146631|Merge remote-tracking branch 'origin/master' into wmf_deploy (T341775 T373017 T393122 T394404)]], [[gerrit:1146654|Xml::input, label: Replace usage with Html::input, label (T394025)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes c

Tue, May 20, 8:58 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Stashbot added a comment to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher].

Mentioned in SAL (#wikimedia-operations) [2025-05-20T20:55:02Z] <jforrester@deploy1003> Started scap sync-world: Backport for [[gerrit:1145867|TransformHandler: Return 400 for invalid titles (T394270)]], [[gerrit:1146631|Merge remote-tracking branch 'origin/master' into wmf_deploy (T341775 T373017 T393122 T394404)]], [[gerrit:1146654|Xml::input, label: Replace usage with Html::input, label (T394025)]]

Tue, May 20, 8:55 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
gerritbot added a comment to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher].

Change #1146631 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Merge remote-tracking branch 'origin/master' into wmf_deploy

https://gerrit.wikimedia.org/r/1146631

Tue, May 20, 8:54 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Maintenance_bot removed a project from T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods : Patch-For-Review.
Tue, May 20, 6:30 PM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
gerritbot added a comment to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods .

Change #1147060 abandoned by Jforrester:

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Update incorrect PHP namespace in BundleSizeTest

Reason:

Being done in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralNotice/+/1146631

https://gerrit.wikimedia.org/r/1147060

Tue, May 20, 5:44 PM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
Krinkle moved T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher] from Untriaged to Apr-Jun 2025 on the Wikimedia-production-error board.
Tue, May 20, 4:40 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Krinkle triaged T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher] as High priority.
Tue, May 20, 4:40 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
jgleeson moved T394399: No longer able to preview centralnotice banners from Pending Deployment to Done on the Fundraising Tech - Chaos Crew board.

Ok, we managed to get this out with a lot of help from @taavi, and @Pcoombe has confirmed banner previews are back. Thanks, everyone, for helping us with this!

Tue, May 20, 10:22 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
jgleeson updated subscribers of T394399: No longer able to preview centralnotice banners.

I chained your patches so they pass CI. You should be able to schedule them both for an available backport window using https://schedule-deployment.toolforge.org/

Let me know on Slack if you need help (post 9am PST). Since you are UK time, you can probably get it out before I wake up, though!

Tue, May 20, 9:37 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Maintenance_bot removed a project from T394399: No longer able to preview centralnotice banners: Patch-For-Review.
Tue, May 20, 2:30 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394399: No longer able to preview centralnotice banners.

Change #1147910 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147910

Tue, May 20, 1:33 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods .

Change #1147910 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147910

Tue, May 20, 1:33 AM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
gerritbot added a project to T394399: No longer able to preview centralnotice banners: Patch-For-Review.
Tue, May 20, 1:25 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods .

Change #1147910 had a related patch set uploaded (by Ejegg; author: Jgleeson):

[mediawiki/extensions/CentralNotice@master] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147910

Tue, May 20, 1:25 AM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
gerritbot added a comment to T394399: No longer able to preview centralnotice banners.

Change #1147910 had a related patch set uploaded (by Ejegg; author: Jgleeson):

[mediawiki/extensions/CentralNotice@master] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147910

Tue, May 20, 1:25 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Maintenance_bot removed a project from T394399: No longer able to preview centralnotice banners: Patch-For-Review.
Tue, May 20, 12:30 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods .

Change #1147839 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147839

Tue, May 20, 12:22 AM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
gerritbot added a comment to T394399: No longer able to preview centralnotice banners.

Change #1147839 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147839

Tue, May 20, 12:22 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog

Mon, May 19

Jdlrobson-WMF added a comment to T394399: No longer able to preview centralnotice banners.

I chained your patches so they pass CI. You should be able to schedule them both for an available backport window using https://schedule-deployment.toolforge.org/

Mon, May 19, 10:32 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
XenoRyet moved T394321: Add text to CentralNotice admin UI when user has admin but no 2FA from Triage to Later on the Fundraising-Backlog board.
Mon, May 19, 8:21 PM · Fundraising-Backlog, MediaWiki-extensions-CentralNotice
XenoRyet closed T374625: new wording for CN &banner= CSP error message, a subtask of T199055: &banner causes CSP warning, as Resolved.
Mon, May 19, 7:42 PM · Fundraising Tech - Chaos Crew, Patch-For-Review, Security, Fundraising-Backlog, User-revi, MediaWiki-extensions-CentralNotice
XenoRyet closed T374625: new wording for CN &banner= CSP error message as Resolved.
Mon, May 19, 7:42 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), Patch-For-Review, Fundraising Tech - Chaos Crew, Fundraising Tech Chaos Holding Pen, Security, Fundraising-Backlog, MediaWiki-extensions-CentralNotice
Damilare moved T374625: new wording for CN &banner= CSP error message from Pending Deployment to Done on the Fundraising Tech - Chaos Crew board.
Mon, May 19, 7:35 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), Patch-For-Review, Fundraising Tech - Chaos Crew, Fundraising Tech Chaos Holding Pen, Security, Fundraising-Backlog, MediaWiki-extensions-CentralNotice
greg moved T394399: No longer able to preview centralnotice banners from Backlog to Pending Deployment on the Fundraising Tech - Chaos Crew board.
Mon, May 19, 7:30 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
XenoRyet moved T394399: No longer able to preview centralnotice banners from Triage to DRI Backlog on the Fundraising-Backlog board.
Mon, May 19, 7:12 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
jgleeson updated subscribers of T394399: No longer able to preview centralnotice banners.

@Jdlrobson I just pushed up a patch to fix the CI failures relating to the namespace fix here.

Mon, May 19, 6:44 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods .

Change #1147839 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147839

Mon, May 19, 6:31 PM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
gerritbot added a project to T394399: No longer able to preview centralnotice banners: Patch-For-Review.
Mon, May 19, 6:31 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394399: No longer able to preview centralnotice banners.

Change #1147839 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Make BundleSizeTest cross-compatible with <=1.44 and >=1.45

https://gerrit.wikimedia.org/r/1147839

Mon, May 19, 6:31 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog

Fri, May 16

gerritbot added a project to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods : Patch-For-Review.
Fri, May 16, 8:16 PM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
gerritbot added a comment to T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods .

Change #1147060 had a related patch set uploaded (by Reedy; author: Hashar):

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Update incorrect PHP namespace in BundleSizeTest

https://gerrit.wikimedia.org/r/1147060

Fri, May 16, 8:16 PM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
Novem_Linguae edited projects for T394542: BundleSizeTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods , added: MediaWiki-extensions-CentralNotice; removed FlaggedRevs.

Got it. So the fix is probably to cherry pick 657c9cc4c50b3c1c8afdc573ca21fc714d6b8f07 into CentralNotice -> branch wmf/1.45.0-wmf.1.

Fri, May 16, 8:10 PM · MediaWiki-extensions-CentralNotice, ci-test-error (WMF-deployed Build Failure)
KMorrow-WMF added a comment to T394399: No longer able to preview centralnotice banners.

Does this need backporting or is it okay to go out on the train next week? If backporting when (today? Monday?) and who ?

I was assuming it would go out with the train but didn't want to make assumptions since it has been marked with UBN.

Fri, May 16, 7:58 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Jdlrobson-WMF added a comment to T394399: No longer able to preview centralnotice banners.

Does this need backporting or is it okay to go out on the train next week? If backporting when (today? Monday?) and who ?

Fri, May 16, 5:18 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
kai.nissen added a watcher for MediaWiki-extensions-CentralNotice: kai.nissen.
Fri, May 16, 8:12 AM

Thu, May 15

Maintenance_bot removed a project from T394399: No longer able to preview centralnotice banners: Patch-For-Review.
Thu, May 15, 7:30 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
ReleaseTaggerBot added a project to T394399: No longer able to preview centralnotice banners: MW-1.45-notes (1.45.0-wmf.2; 2025-05-20).
Thu, May 15, 7:00 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394399: No longer able to preview centralnotice banners.

Change #1146648 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] Fixes iteration of existing URLSearchParams

https://gerrit.wikimedia.org/r/1146648

Thu, May 15, 6:41 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Jdlrobson-WMF added a comment to T394399: No longer able to preview centralnotice banners.

There is an API request to https://meta.wikimedia.org/w/index.php?title=Special:BannerLoader&banner=undefined&uselang=en&debug=false
Debugging I was able to confirm getBannerURL is called with a data object with no banner key - which led to above patch.

Thu, May 15, 2:53 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a project to T394399: No longer able to preview centralnotice banners: Patch-For-Review.
Thu, May 15, 2:53 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T394399: No longer able to preview centralnotice banners.

Change #1146648 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/CentralNotice@master] Fixes iteration of existing URLSearchParams

https://gerrit.wikimedia.org/r/1146648

Thu, May 15, 2:53 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Fundraising Tech - Chaos Crew, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
jnuche added a comment to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher].

@jnuche: This should kill off the logspam and otherwise do nothing except an i18n update (sorry :-().

Thu, May 15, 2:08 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Jdforrester-WMF added a comment to T394404: PHP Deprecated: Use of MediaWiki\Xml\Xml::radio was deprecated in MediaWiki 1.42. [Called from SpecialCentralNoticeLogs::getLogSwitcher].

Change #1146631 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CentralNotice@wmf/1.45.0-wmf.1] Merge remote-tracking branch 'origin/master' into wmf_deploy

https://gerrit.wikimedia.org/r/1146631

Thu, May 15, 1:58 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MediaWiki-extensions-CentralNotice, Wikimedia-production-error