Page MenuHomePhabricator

MediaWiki-extensions-WikimediaMaintenanceComponent
ActivePublic

Members (2)

Watchers (1)

Details

Description

WikimediaMaintenance extension, containing WMF-specific maintenance scripts

Recent Activity

Thu, Jul 16

ReleaseTaggerBot added a project to T294703: Hard deprecate and remove the deprecated global shell functions: MW-1.47-notes (1.47.0-wmf.12; 2026-07-21).
Thu, Jul 16, 2:00 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1281992 merged by jenkins-bot:

[mediawiki/core@master] UploadVerification: Convert remaining wfShell* commands to Shell class

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

Thu, Jul 16, 1:25 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

Wed, Jul 1

bd808 moved T355279: Beta pages with interwiki URLs redirect to production from To Triage to Backlog on the Beta-Cluster-Infrastructure board.
Wed, Jul 1, 12:52 AM · MediaWiki-extensions-WikimediaMaintenance, Wikimedia-Interwiki-links, Beta-Cluster-Infrastructure
bd808 added a comment to T355279: Beta pages with interwiki URLs redirect to production.

This actually seems to be only partially problematic. In https://meta.wikimedia.beta.wmcloud.org/wiki/Special:Interwiki today, wikt points to https://en.wiktionary.beta.wmcloud.org/wiki/$1 as expected. It seems to be the case that all of the short codes point at some *.beta.wmcloud.org host. The prefixes that point out to production are the full project names like wiktionary, wikipedia, wikisource, etc.

Wed, Jul 1, 12:52 AM · MediaWiki-extensions-WikimediaMaintenance, Wikimedia-Interwiki-links, Beta-Cluster-Infrastructure

Thu, Jun 25

Maintenance_bot removed a project from T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script: Patch-For-Review.
Thu, Jun 25, 3:31 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
aude closed T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script as Declined.
Thu, Jun 25, 3:29 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
aude added a comment to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script.

Projects are populated via SchemaHookHandlers::onLoadExtensionSchemaUpdates so we don't need to do this.

Thu, Jun 25, 3:29 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
gerritbot added a comment to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script.

Change #1304567 abandoned by Aude:

[mediawiki/extensions/WikimediaMaintenance@master] Add ReadingLists project step to addWiki.php

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

Thu, Jun 25, 3:28 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team

Wed, Jun 24

HFan-WMF triaged T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script as High priority.
Wed, Jun 24, 5:46 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team

Fri, Jun 19

gerritbot added a comment to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script.

Change #1304600 merged by jenkins-bot:

[integration/config@master] Zuul: [mediawiki/extensions/WikimediaMaintenance] Add ReadingLists dependency

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

Fri, Jun 19, 3:12 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
gerritbot added a comment to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script.

Change #1304600 had a related patch set uploaded (by Aude; author: Aude):

[integration/config@master] Zuul: [mediawiki/extensions/WikimediaMaintenance] Add ReadingLists phan dependency

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

Fri, Jun 19, 3:02 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
gerritbot added a project to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script: Patch-For-Review.
Fri, Jun 19, 12:48 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
gerritbot added a comment to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script.

Change #1304567 had a related patch set uploaded (by Aude; author: Aude):

[mediawiki/extensions/WikimediaMaintenance@master] Add ReadingLists project step to addWiki.php

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

Fri, Jun 19, 12:48 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
aude renamed T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script from Add reading_lists_project to the addWiki.php new wiki maintenance script to Add reading_lists_project step to the addWiki.php new wiki maintenance script.
Fri, Jun 19, 12:37 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team
aude added a project to T429680: Add reading_lists_project step to the addWiki.php new wiki maintenance script: MediaWiki-extensions-WikimediaMaintenance.
Fri, Jun 19, 12:33 PM · MediaWiki-extensions-WikimediaMaintenance, FY252627 Reading Lists (Graduating from Beta), Reader Experience Team

Jun 17 2026

gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1303334 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/core@master] Emit warnings for deprecated Shell global functions

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

Jun 17 2026, 7:54 AM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

Jun 16 2026

Urbanecm_WMF added a comment to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.

Another possible action item here: include the DB server where the creation happened in the output. While this wouldn't prevent the issue from happening, it would allow me to double check it got created at the expected place.

Jun 16 2026, 10:57 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF updated the task description for T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.
Jun 16 2026, 10:56 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF added a project to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster: MediaWiki-libs-Rdbms.

This is probably closer to our Rdbms lib than to WikimediaMaintenance.

Jun 16 2026, 10:40 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF added a comment to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.
  • Declare virtual domains unconditionally: move $wgVirtualDomainsMapping declarations in CommonSettings.php outside of their respective $wmgUseXxx blocks
Jun 16 2026, 10:38 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF added a comment to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.

I'm also curious why $lbf->getLoadBalancer( $virtualDomain ) with an unrecognized $virtualDomain returns a pointer to s3. I would expect the main section (or an error), but definitely not s3...

Jun 16 2026, 10:33 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF added a comment to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.

The accidental creation of wikidatawiki at s3 makes me think... Should the script even attempt to run CREATE DATABASE IF NOT EXISTS? I can't think of a scenario where an x1 database wouldn't already exist... addWiki.php should handle provisioning it.

Jun 16 2026, 10:14 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF added a comment to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.

This is how I located them:

Jun 16 2026, 10:06 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF added a comment to T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.

Interestingly, the script (somehow) decided to create the wikidatawiki tables on s3 wikidatawiki, not on s8 wikidatawiki (as I would expect when virtualdomain points nowhere):

Jun 16 2026, 10:01 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF updated subscribers of T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.

I ended up having to run the maintenance script within mw-debug (where the virtual domain was already defined), and then proceed.

Jun 16 2026, 9:28 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance
Urbanecm_WMF created T429302: createExtensionTables.php makes it super-easy to accidentally create DB on wrong cluster.
Jun 16 2026, 9:22 AM · MediaWiki-libs-Rdbms, MediaWiki-extensions-WikimediaMaintenance

Jun 12 2026

gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1301407 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/core@master] ServiceWiring: Convert GlobalIdGenerator to Shell class

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

Jun 12 2026, 5:11 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1301406 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/core@master] cleanupSpam: Convert to Shell class call

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

Jun 12 2026, 5:04 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

May 23 2026

Novem_Linguae added a comment to T423669: Move Wikimedia-specific scripts from SecurePoll to WikimediaMaintanence or WikimediaCustomization.

I'm not sure taking SecurePoll maintenance scripts out of the SecurePoll repo is the best way to organize things. Would need some convincing.

May 23 2026, 5:57 PM · Product Safety and Integrity, WikimediaCustomizations, MediaWiki-extensions-WikimediaMaintenance, MediaWiki-extensions-SecurePoll
SD0001 added a comment to T423669: Move Wikimedia-specific scripts from SecurePoll to WikimediaMaintanence or WikimediaCustomization.

Many of these can be deleted following T423547.

May 23 2026, 5:16 PM · Product Safety and Integrity, WikimediaCustomizations, MediaWiki-extensions-WikimediaMaintenance, MediaWiki-extensions-SecurePoll

May 14 2026

Dreamy_Jazz moved T423669: Move Wikimedia-specific scripts from SecurePoll to WikimediaMaintanence or WikimediaCustomization from Inbox to Triaged (backlog) on the Product Safety and Integrity board.
May 14 2026, 4:43 PM · Product Safety and Integrity, WikimediaCustomizations, MediaWiki-extensions-WikimediaMaintenance, MediaWiki-extensions-SecurePoll

May 13 2026

lcawte added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Should now be patches for review against all WMF-deployed code & core per codesearch.

May 13 2026, 11:57 AM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

May 11 2026

gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1285863 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/core@master] GlobalIdGenerator: Convert deprecated shell global functions calls to Shell class

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

May 11 2026, 4:43 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

May 3 2026

gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1281992 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/core@master] UploadVerification: Convert remaining wfShell* commands to Shell class

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

May 3 2026, 1:51 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

Apr 17 2026

Bugreporter created T423669: Move Wikimedia-specific scripts from SecurePoll to WikimediaMaintanence or WikimediaCustomization.
Apr 17 2026, 2:18 AM · Product Safety and Integrity, WikimediaCustomizations, MediaWiki-extensions-WikimediaMaintenance, MediaWiki-extensions-SecurePoll

Apr 13 2026

Nikerabbit closed T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database as Resolved.

Parent task was closed and https://abstract.wikipedia.org/wiki/Special:ManageMessageGroupSubscriptions works for me now.

Apr 13 2026, 7:56 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)
Nikerabbit moved T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database from Pending Deployment to Need QA on the LPL Essential (FY2025-26 Q3&4) board.
Apr 13 2026, 7:16 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)

Apr 9 2026

gerritbot added a project to T294703: Hard deprecate and remove the deprecated global shell functions: Patch-For-Review.
Apr 9 2026, 5:22 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1269539 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/extensions/TimedMediaHandler@master] [UNTESTED] Replace deprecated global shell functions

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

Apr 9 2026, 5:22 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
ReleaseTaggerBot edited projects for T294703: Hard deprecate and remove the deprecated global shell functions, added: MW-1.46-notes (1.46.0-wmf.24; 2026-04-14); removed MW-1.46-notes (1.46.0-wmf.22; 2026-03-31).
Apr 9 2026, 4:00 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
Maintenance_bot removed a project from T294703: Hard deprecate and remove the deprecated global shell functions: Patch-For-Review.
Apr 9 2026, 3:31 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1264322 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@master] Replace usages of Shell related globals

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

Apr 9 2026, 3:27 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell

Apr 2 2026

Nikerabbit moved T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database from In Progress to Pending Deployment on the LPL Essential (FY2025-26 Q3&4) board.
Apr 2 2026, 8:31 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)

Apr 1 2026

gerritbot added a project to T294703: Hard deprecate and remove the deprecated global shell functions: Patch-For-Review.
Apr 1 2026, 9:27 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
gerritbot added a comment to T294703: Hard deprecate and remove the deprecated global shell functions.

Change #1264322 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/extensions/Scribunto@master] Replace usages of Shell related globals

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

Apr 1 2026, 9:27 PM · MW-1.47-notes (1.47.0-wmf.12; 2026-07-21), Patch-For-Review, MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), MediaWiki-extensions-WikimediaMaintenance, Technical-Debt (Deprecation process), MediaWiki-Shell
ReleaseTaggerBot added a project to T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database: MW-1.46-notes (1.46.0-wmf.23; 2026-04-07).
Apr 1 2026, 12:00 PM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)
Maintenance_bot removed a project from T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database: Patch-For-Review.
Apr 1 2026, 11:31 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)
gerritbot added a comment to T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database.

Change #1266157 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@master] Handle virtual domains for Translate

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

Apr 1 2026, 11:16 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)
Nikerabbit claimed T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database.

Removing MediaWiki-extensions-Translate as this is solely about WMF production stuff.

Apr 1 2026, 10:25 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)
gerritbot added a project to T421985: createExtensionTables.php creates `translate_message_group_subscriptions` in a wrong database: Patch-For-Review.
Apr 1 2026, 10:22 AM · MW-1.46-notes (1.46.0-wmf.23; 2026-04-07), MediaWiki-extensions-WikimediaMaintenance, Unplanned-Sprint-Work, LPL Projects (Other), LPL Essential (FY2025-26 Q3&4)