Page MenuHomePhabricator

Remove namespace 666 from Wikitech
Open, LowPublic

Description

See T161553: Remove OpenStackManager from Wikitech and https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1038750

First the namespace name is misspelled in the patch (Hiera instead of Heira).

The namespace currently has zero pages (https://wikitech.wikimedia.org/wiki/Special:AllPages?from=&to=&namespace=666) so it is not meaningful to keep the namespace at all.

Details

Event Timeline

Change #1043797 had a related patch set uploaded (by Dreamrimmer; author: Dreamrimmer):

[operations/mediawiki-config@master] [Wikitech] Remove namespace 666

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

That namespace does have deleted pages, can MW handle deleting a namespace with those in there?

taavi triaged this task as Low priority.Jun 14 2024, 2:37 PM
taavi moved this task from Backlog to Snowflakes on the wikitech.wikimedia.org board.

@taavi, I believe MW can handle this for custom namespaces, but since it involves cleaning up the archive table, I think a sysadmin should handle it. Should I abandon my patch?

Previously we did remove namespaces multiple times, e.g. T354813 and T285766.

That namespace does have deleted pages, can MW handle deleting a namespace with those in there?

There are three “real” deleted pages in the namespace (and one spam page; nothing in the talk namespace AFAICT); the “real” ones (“Heira:Deployment-prep”, “Heira:Testlabs” and “Heira:Wikifactmine”) already can’t be viewed today:

[f37b77ae-1f57-4302-8743-be4863e42cf2] 2024-07-04 13:45:22: Fatal exception of type "MWUnknownContentModelException"

So I think making them inaccessible by deleting the namespace seems fine. (And according to the older tasks, they’re going to become invisible inaccessible, but not crash MediaWiki. Which is arguably an improvement over the status quo ^^)

In the hewikisource there were several issues following the removal of the namespace (T314733). It should be ensured that this does not recur.