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

Pcoombe renamed T127011: Banner device and anonymous/logged-in settings should be set at campaign level from Banner device settings should be set at campaign level to Banner device and anonymous/logged-in settings should be set at campaign level.
Wed, Jul 31, 9:13 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Pppery merged T44488: CentralNotice should stop using the MediaWiki namespace into T33595: CentralNotice banners should exist in their own namespace (stop using the MediaWiki namespace).
Wed, Jul 31, 4:51 AM · FR-CentralNotice-translations, Fundraising-Backlog, MediaWiki-extensions-CentralNotice
Pppery merged task T44488: CentralNotice should stop using the MediaWiki namespace into T33595: CentralNotice banners should exist in their own namespace (stop using the MediaWiki namespace).
Wed, Jul 31, 4:50 AM · MediaWiki-extensions-CentralNotice
Pppery added a project to T257703: Clean up Cache-Control handling in MediaWiki: MediaWiki-extensions-CentralNotice.
Wed, Jul 31, 4:28 AM · MediaWiki-extensions-CentralNotice, Sustainability (Incident Followup), FR-CentralNotice-Caching, MediaWiki-Core-AuthManager

Tue, Jul 30

Dwisehaupt moved T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute] from Done to Completed 202400716 - 20240730 on the Fundraising Tech - Chaos Crew board.
Tue, Jul 30, 7:09 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Dwisehaupt moved T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute] from Backlog to Done on the Fundraising Tech - Chaos Crew board.
Tue, Jul 30, 7:05 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Pppery removed a project from T47920: Don't enable API modules on wikis where they aren't used: good first task.
Tue, Jul 30, 2:03 AM · MediaWiki-Action-API, MediaWiki-extensions-CentralNotice
Pppery added a comment to T371293: CentralNotice should not unconditionally link to documentation on Meta-Wiki.

There are also some suspicious code comments here ...

	// For now, we want to make this display without paging on
	// meta.wikimedia.org, in line with the functionality that users currently
	// encounter.
	// This should be enough--Meta has less than 500 campaigns.
	private const DEFAULT_LIMIT = 5000;

meta.wikimedia.org probably has more than 500 campaigns now (every fundraiser year creates many) and why only care about Meta

Tue, Jul 30, 1:15 AM · MediaWiki-extensions-CentralNotice

Mon, Jul 29

Umherirrender closed T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute] as Resolved.
Mon, Jul 29, 10:17 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
gerritbot added a comment to T360668: Drop support for non-Codex message boxes.

Change #1057959 had a related patch set uploaded (by Abaris; author: Abaris):

[mediawiki/extensions/GrowthExperiments@master] Convert maybeShowWarning message boxes to Codex styles

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

Mon, Jul 29, 9:25 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), WMDE-TechWish-Maintenance, MassMessage, Two-Column-Edit-Conflict-Merge, GrowthExperiments, MediaWiki-extensions-Graph, MediaWiki-extensions-FlaggedRevs, MediaWiki-extensions-CentralNotice, StructuredDiscussions, MediaWiki-extensions-Translate, Growth-Team
gerritbot added a project to T360668: Drop support for non-Codex message boxes: Patch-For-Review.
Mon, Jul 29, 7:12 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), WMDE-TechWish-Maintenance, MassMessage, Two-Column-Edit-Conflict-Merge, GrowthExperiments, MediaWiki-extensions-Graph, MediaWiki-extensions-FlaggedRevs, MediaWiki-extensions-CentralNotice, StructuredDiscussions, MediaWiki-extensions-Translate, Growth-Team
gerritbot added a comment to T360668: Drop support for non-Codex message boxes.

Change #1057938 had a related patch set uploaded (by Abaris; author: Abaris):

[mediawiki/extensions/CentralNotice@master] Convert setValidationError message boxes to use Codex styles

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

Mon, Jul 29, 7:12 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), WMDE-TechWish-Maintenance, MassMessage, Two-Column-Edit-Conflict-Merge, GrowthExperiments, MediaWiki-extensions-Graph, MediaWiki-extensions-FlaggedRevs, MediaWiki-extensions-CentralNotice, StructuredDiscussions, MediaWiki-extensions-Translate, Growth-Team
Jdforrester-WMF added a project to T371293: CentralNotice should not unconditionally link to documentation on Meta-Wiki: MediaWiki-extensions-CentralNotice.
Mon, Jul 29, 5:45 PM · MediaWiki-extensions-CentralNotice
Dogu added a comment to T360668: Drop support for non-Codex message boxes.

The update for FlaggedRevs to use Codex message boxes has been completed as part of task T191156.

Mon, Jul 29, 5:45 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), WMDE-TechWish-Maintenance, MassMessage, Two-Column-Edit-Conflict-Merge, GrowthExperiments, MediaWiki-extensions-Graph, MediaWiki-extensions-FlaggedRevs, MediaWiki-extensions-CentralNotice, StructuredDiscussions, MediaWiki-extensions-Translate, Growth-Team
Dogu updated the task description for T360668: Drop support for non-Codex message boxes.
Mon, Jul 29, 5:44 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), WMDE-TechWish-Maintenance, MassMessage, Two-Column-Edit-Conflict-Merge, GrowthExperiments, MediaWiki-extensions-Graph, MediaWiki-extensions-FlaggedRevs, MediaWiki-extensions-CentralNotice, StructuredDiscussions, MediaWiki-extensions-Translate, Growth-Team
Pppery added a project to T371291: Determine whether document.write checking is still needed: MediaWiki-extensions-CentralNotice.
Mon, Jul 29, 5:40 PM · MediaWiki-extensions-CentralNotice

Fri, Jul 26

Maintenance_bot removed a project from T361680: CentralNotice should catch banner errors and log them to its own channel: Patch-For-Review.
Fri, Jul 26, 9:31 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog
gerritbot added a comment to T361680: CentralNotice should catch banner errors and log them to its own channel.

Change #1016759 abandoned by Jdlrobson:

[mediawiki/extensions/CentralNotice@master] Log central notice banner errors to their own channel

Reason:

See https://phabricator.wikimedia.org/T361680#9940111 for new proposal which requires modification to how the banners are added to the page.

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

Fri, Jul 26, 8:33 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Jdlrobson added a comment to T361680: CentralNotice should catch banner errors and log them to its own channel.

@Pcoombe what do you think of the above proposal? Is it viable?

Fri, Jul 26, 5:58 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog

Thu, Jul 25

Krinkle moved T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute] from Untriaged to Jun 2024 on the Wikimedia-production-error board.
Thu, Jul 25, 4:04 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Jdlrobson moved T365324: CentralNotice needs a dark treatment from Backlog to Web (MediaWiki) on the dark-mode board.
Thu, Jul 25, 12:30 AM · dark-mode, MediaWiki-extensions-CentralNotice

Wed, Jul 24

DerHexer updated subscribers of T370798: Create a preview sandbox for Central Notice banner designs.
Wed, Jul 24, 8:10 PM · MediaWiki-extensions-CentralNotice

Tue, Jul 23

Nemoralis added a project to T370798: Create a preview sandbox for Central Notice banner designs: MediaWiki-extensions-CentralNotice.
Tue, Jul 23, 5:13 PM · MediaWiki-extensions-CentralNotice
Astinson added a parent task for T226961: CentralNotice: Don't show live preview section for users without CN rights: T370798: Create a preview sandbox for Central Notice banner designs.
Tue, Jul 23, 5:10 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Astinson added a parent task for T230857: Banner preview: fix banner editor for users without CN admin rights: T370798: Create a preview sandbox for Central Notice banner designs.
Tue, Jul 23, 5:10 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Izno added a project to T365324: CentralNotice needs a dark treatment: dark-mode.
Tue, Jul 23, 4:50 PM · dark-mode, MediaWiki-extensions-CentralNotice

Mon, Jul 22

Maintenance_bot removed a project from T354875: build: Update SVGO to latest v3.2.0 in Wikimedia deployed repos: Patch-For-Review.
Mon, Jul 22, 9:33 PM · MediaWiki-General, GrowthExperiments, Notifications, NearbyPages, TimedMediaHandler, VisualEditor, Timeless, UniversalLanguageSelector, MediaWiki-extensions-Translate, Thanks, MediaViewer, MediaWiki-extensions-CentralNotice, ChessBrowser, Maps (Kartographer), MediaWiki-extensions-GuidedTour, Desktop Improvements (Vector 2022), MinervaNeue, Two-Column-Edit-Conflict-Merge, Revision-Slider, Page-Previews, Growth-Team, MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Wikimedia-Performance-recommendation, SVG
Maintenance_bot removed a project from T312369: Migrate usage of Database::select to SelectQueryBuilder in CentralNotice: Patch-For-Review.
Mon, Jul 22, 9:31 PM · MW-1.43-notes (1.43.0-wmf.3; 2024-04-30), Fundraising-Backlog, MediaWiki-extensions-CentralNotice, Technical-Debt
Maintenance_bot removed a project from T338447: Update CentralNotice to use the new HookContainer/HookRunner system: Patch-For-Review.
Mon, Jul 22, 9:31 PM · MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), MW-1.41-notes (1.41.0-wmf.29; 2023-10-03), Core Platform Team Initiatives (New Hook System), MediaWiki-extensions-CentralNotice
Maintenance_bot removed a project from T350965: Use expression builder instead of raw SQL in CentralNotice: Patch-For-Review.
Mon, Jul 22, 9:31 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), MediaWiki-extensions-CentralNotice, Technical-Debt
Maintenance_bot removed a project from T357339: PHP Fatal error: Cannot declare class HookRunnerTest, because the name is already in use: Patch-For-Review.
Mon, Jul 22, 9:30 PM · MW-1.42-notes (1.42.0-wmf.18; 2024-02-13), MediaWiki-extensions-CentralNotice, MediaWiki-extensions-AdminLinks, MediaWiki-extensions-FlaggedRevs, Cosmos
Maintenance_bot removed a project from T357635: Replace usage of wfGetDB() in CentralNotice before the 1.42 cut so it can be hard-deprecated: Patch-For-Review.
Mon, Jul 22, 9:30 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-CentralNotice, Technical-Debt
gerritbot added a comment to T354875: build: Update SVGO to latest v3.2.0 in Wikimedia deployed repos.

Change #1052668 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf_deploy] Merge branch 'master' into wmf_deploy

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

Mon, Jul 22, 8:58 PM · MediaWiki-General, GrowthExperiments, Notifications, NearbyPages, TimedMediaHandler, VisualEditor, Timeless, UniversalLanguageSelector, MediaWiki-extensions-Translate, Thanks, MediaViewer, MediaWiki-extensions-CentralNotice, ChessBrowser, Maps (Kartographer), MediaWiki-extensions-GuidedTour, Desktop Improvements (Vector 2022), MinervaNeue, Two-Column-Edit-Conflict-Merge, Revision-Slider, Page-Previews, Growth-Team, MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Wikimedia-Performance-recommendation, SVG
gerritbot added a comment to T312369: Migrate usage of Database::select to SelectQueryBuilder in CentralNotice.

Change #1052668 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf_deploy] Merge branch 'master' into wmf_deploy

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

Mon, Jul 22, 8:58 PM · MW-1.43-notes (1.43.0-wmf.3; 2024-04-30), Fundraising-Backlog, MediaWiki-extensions-CentralNotice, Technical-Debt
gerritbot added a comment to T350965: Use expression builder instead of raw SQL in CentralNotice.

Change #1052668 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf_deploy] Merge branch 'master' into wmf_deploy

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

Mon, Jul 22, 8:58 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), MediaWiki-extensions-CentralNotice, Technical-Debt
gerritbot added a comment to T338447: Update CentralNotice to use the new HookContainer/HookRunner system.

Change #1052668 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf_deploy] Merge branch 'master' into wmf_deploy

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

Mon, Jul 22, 8:58 PM · MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), MW-1.41-notes (1.41.0-wmf.29; 2023-10-03), Core Platform Team Initiatives (New Hook System), MediaWiki-extensions-CentralNotice
gerritbot added a comment to T357339: PHP Fatal error: Cannot declare class HookRunnerTest, because the name is already in use.

Change #1052668 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf_deploy] Merge branch 'master' into wmf_deploy

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

Mon, Jul 22, 8:57 PM · MW-1.42-notes (1.42.0-wmf.18; 2024-02-13), MediaWiki-extensions-CentralNotice, MediaWiki-extensions-AdminLinks, MediaWiki-extensions-FlaggedRevs, Cosmos
gerritbot added a comment to T357635: Replace usage of wfGetDB() in CentralNotice before the 1.42 cut so it can be hard-deprecated.

Change #1052668 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@wmf_deploy] Merge branch 'master' into wmf_deploy

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

Mon, Jul 22, 8:57 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-CentralNotice, Technical-Debt
Ejegg added a comment to T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute].

Sorry for the delay reviewing that merge! I've finished looking it over and smoke testing locally, and have given it C+2.

Mon, Jul 22, 8:53 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
AKanji-WMF raised the priority of T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute] from Medium to High.
Mon, Jul 22, 8:09 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Andrew added a comment to T360949: Upgrade centralnotice-staging to get off debian buster.

I shut down this VM due to lack of response here

Mon, Jul 22, 5:50 PM · Cloud-VPS (Debian Buster Deprecation), MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Pcoombe updated the task description for T367189: CentralNotice admin interface issues in dark mode.
Mon, Jul 22, 11:15 AM · dark-mode, MediaWiki-extensions-CentralNotice

Sun, Jul 21

Umherirrender closed T350965: Use expression builder instead of raw SQL in CentralNotice as Resolved.
Sun, Jul 21, 6:41 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), MediaWiki-extensions-CentralNotice, Technical-Debt

Thu, Jul 18

thcipriani added a project to T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute]: Fundraising Tech - Chaos Crew.

Actually, it looks like this merge includes the fix, so IIUC that will roll out with this week’s train.

Thu, Jul 18, 3:30 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error

Wed, Jul 17

Jdlrobson removed a project from T361680: CentralNotice should catch banner errors and log them to its own channel: Web-Team-Backlog (Needs Prioritization (Tech)).
Wed, Jul 17, 6:21 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog

Mon, Jul 15

Lucas_Werkmeister_WMDE added a comment to T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute].

Actually, it looks like this merge includes the fix, so IIUC that will roll out with this week’s train.

Mon, Jul 15, 1:09 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error
Lucas_Werkmeister_WMDE added a comment to T366742: PHP Deprecated: Use of MediaWiki\Output\OutputPage::setPageTitle with Message argument was deprecated in MediaWiki 1.41. [Called from SpecialCentralNoticeBanners::execute].

This is still cluttering logspam-watch during deployments two months after it was fixed on the master branch. Can someone who knows how to deploy changes to CentralNotice please get the fix deployed?

Mon, Jul 15, 1:04 PM · Fundraising-Backlog, Fundraising Tech - Chaos Crew, User-brennen, MediaWiki-extensions-CentralNotice, Wikimedia-production-error

Thu, Jul 11

Jdlrobson moved T367189: CentralNotice admin interface issues in dark mode from Backlog to Web (MediaWiki) on the dark-mode board.
Thu, Jul 11, 7:56 PM · dark-mode, MediaWiki-extensions-CentralNotice

Wed, Jul 10

Pcoombe triaged T367189: CentralNotice admin interface issues in dark mode as Low priority.
Wed, Jul 10, 5:33 PM · dark-mode, MediaWiki-extensions-CentralNotice

Tue, Jul 9

phuedx added a comment to T361680: CentralNotice should catch banner errors and log them to its own channel.

No need for a RegEx. A little DOMDocument magic in BannerRenderer should do:

Tue, Jul 9, 1:33 PM · MediaWiki-extensions-CentralNotice, Fundraising-Backlog