Page MenuHomePhabricator

MOS prefix pages in siwiki
Closed, ResolvedPublic

Description

THere exists dozens of redirects MOS:FOO in siwiki, but because of mos: interwiki (T363538) they are unaccessible - no way to purge and probably also delete them
https://si.wikipedia.org/wiki/%E0%B7%80%E0%B7%92%E0%B7%81%E0%B7%9A%E0%B7%82:%E0%B7%83%E0%B7%92%E0%B6%BA%E0%B7%85%E0%B7%94_%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94?from=MOS&to=&namespace=0

Event Timeline

I suspect I may have accidentally conflated siwiki and slwiki when working on T363538

The options are:

  1. Create a "MOS:" namespace on the wiki to shadow the interwiki and run namespaceDupes to move them to that namespace
  2. Run cleanupTitles without creating a namespace, which will make the pages accessible at strange titles like Broken/MOS:FOO, and then deal with them locally somehow, while having MOS: remain an interwiki.

Which do you want?

Option #1 (Create a "MOS:" namespace), sounds clean and easy isn't it?

It's clean and easy in one sense, but it leaves an extra namespace languishing on the wiki forever in another sense. The question is whether your wiki cares about links to "MOS:FOO" pages working, as opposed to just wanting to get the unreachable pages off of database reports and properly deleted.

Well, most of the time we go along with what English Wikipedia does. Sooner or later our guys will ask for this namespace as well. I'm sure it will be something positive for our project.

Change #1226331 had a related patch set uploaded (by Pppery; author: Pppery):

[operations/mediawiki-config@master] Siwiki: Add MOS namespace

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

Change #1226331 merged by jenkins-bot:

[operations/mediawiki-config@master] Siwiki: Add MOS namespace

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

Mentioned in SAL (#wikimedia-operations) [2026-01-13T21:27:55Z] <cjming@deploy2002> Started scap sync-world: Backport for [[gerrit:1226331|Siwiki: Add MOS namespace (T414159)]]

Mentioned in SAL (#wikimedia-operations) [2026-01-13T21:30:06Z] <cjming@deploy2002> pppery, cjming: Backport for [[gerrit:1226331|Siwiki: Add MOS namespace (T414159)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-01-13T21:35:43Z] <cjming@deploy2002> Finished scap sync-world: Backport for [[gerrit:1226331|Siwiki: Add MOS namespace (T414159)]] (duration: 07m 49s)

Mentioned in SAL (#wikimedia-operations) [2026-01-13T21:36:40Z] <cjming@deploy2002> mwscript-k8s job started: namespaceDupes siwiki --fix # T414159

ran namespaceDupes script:

mwscript-k8s --comment=T414159 --follow --sal -- namespaceDupes siwiki --fix | tee ~/T414159

returned:

🚀 Job is running.
📜 Streaming logs:
id=145542 ns=0 dbk=MOS:ACCESS -> MOS-ACCESS (no conflict)
id=127686 ns=0 dbk=MOS:ALLCAPS -> MOS-ALLCAPS (no conflict)
id=118935 ns=0 dbk=MOS:AWW -> MOS-AWW (no conflict)
id=103481 ns=0 dbk=MOS:Accessibility -> MOS-Accessibility (no conflict)
id=127687 ns=0 dbk=MOS:BADDATEFORMAT -> MOS-BADDATEFORMAT (no conflict)
id=107425 ns=0 dbk=MOS:BLOCKQUOTE -> MOS-BLOCKQUOTE (no conflict)
id=121429 ns=0 dbk=MOS:CAPS -> MOS-CAPS (no conflict)
id=148985 ns=0 dbk=MOS:COLON -> MOS-COLON (no conflict)
id=149000 ns=0 dbk=MOS:COLOR -> MOS-COLOR (no conflict)
id=148999 ns=0 dbk=MOS:COLORS -> MOS-COLORS (no conflict)
id=93594 ns=0 dbk=MOS:DAB -> MOS-DAB (no conflict)
id=93592 ns=0 dbk=MOS:DABPAGES -> MOS-DABPAGES (no conflict)
id=145551 ns=0 dbk=MOS:DABPEOPLE -> MOS-DABPEOPLE (no conflict)
id=156526 ns=0 dbk=MOS:DASH -> MOS-DASH (no conflict)
id=127685 ns=0 dbk=MOS:DATEFORMAT -> MOS-DATEFORMAT (no conflict)
id=109736 ns=0 dbk=MOS:DATEUNIFY -> MOS-DATEUNIFY (no conflict)
id=93595 ns=0 dbk=MOS:DISAMBIG -> MOS-DISAMBIG (no conflict)
id=122388 ns=0 dbk=MOS:FILM -> MOS-FILM (no conflict)
id=115520 ns=0 dbk=MOS:FONTSIZE -> MOS-FONTSIZE (no conflict)
id=145692 ns=0 dbk=MOS:FOREIGN -> MOS-FOREIGN (no conflict)
id=145478 ns=0 dbk=MOS:ICON -> MOS-ICON (no conflict)
id=146117 ns=0 dbk=MOS:INFOBOX -> MOS-INFOBOX (no conflict)
id=117499 ns=0 dbk=MOS:INTERWIKI -> MOS-INTERWIKI (no conflict)
id=145675 ns=0 dbk=MOS:JAPAN -> MOS-JAPAN (no conflict)
id=169289 ns=0 dbk=MOS:LABEL -> MOS-LABEL (no conflict)
id=117500 ns=0 dbk=MOS:LAYOUT -> MOS-LAYOUT (no conflict)
id=101264 ns=0 dbk=MOS:LEAD -> MOS-LEAD (no conflict)
id=126009 ns=0 dbk=MOS:LINK -> MOS-LINK (no conflict)
id=106088 ns=0 dbk=MOS:LIST -> MOS-LIST (no conflict)
id=145582 ns=0 dbk=MOS:LISTFORMAT -> MOS-LISTFORMAT (no conflict)
id=103480 ns=0 dbk=MOS:Layout -> MOS-Layout (no conflict)
id=118180 ns=0 dbk=MOS:MED -> MOS-MED (no conflict)
id=145586 ns=0 dbk=MOS:MUSIC -> MOS-MUSIC (no conflict)
id=113995 ns=0 dbk=MOS:NBSP -> MOS-NBSP (no conflict)
id=114772 ns=0 dbk=MOS:NOPIPE -> MOS-NOPIPE (no conflict)
id=90572 ns=0 dbk=MOS:NUM -> MOS-NUM (no conflict)
id=98906 ns=0 dbk=MOS:NUMERAL -> MOS-NUMERAL (no conflict)
id=145541 ns=0 dbk=MOS:OTHERLANG -> MOS-OTHERLANG (no conflict)
id=145583 ns=0 dbk=MOS:POPMUSIC -> MOS-POPMUSIC (no conflict)
id=103479 ns=0 dbk=MOS:SECTIONS -> MOS-SECTIONS (no conflict)
id=145588 ns=0 dbk=MOS:SEEALSO -> MOS-SEEALSO (no conflict)
id=145555 ns=0 dbk=MOS:SELFREF -> MOS-SELFREF (no conflict)
id=77564 ns=0 dbk=MOS:SMALLCAPS -> MOS-SMALLCAPS (no conflict)
id=117501 ns=0 dbk=MOS:STRUCTURE -> MOS-STRUCTURE (no conflict)
id=122392 ns=0 dbk=MOS:VIDEO -> MOS-VIDEO (no conflict)
id=163582 ns=0 dbk=MOS:WAF -> MOS-WAF (no conflict)
id=118934 ns=0 dbk=MOS:WEASEL -> MOS-WEASEL (no conflict)
id=118933 ns=0 dbk=MOS:WTW -> MOS-WTW (no conflict)
48 pages to fix, 48 were resolvable.

0 links to fix, 0 were resolvable, 0 were deleted.

Looks good!

It looks like that didn't do what it was supposed to and moved pages to "MOS-foo" instead of moving them into the new namespace. @Lee (or anyone else) you can clean it up on-wiki using the ordinary Special:MovePage feature.

Change #1226365 had a related patch set uploaded (by Pppery; author: Pppery):

[mediawiki/core@master] namespaceDupes: ensure alt capitalizations of namespaces have priority over interwikis

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

Change #1226365 merged by jenkins-bot:

[mediawiki/core@master] namespaceDupes: ensure alt capitalizations of namespaces have priority over interwikis

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