Page MenuHomePhabricator

Special:WantedPages lists existing MOS pages after enwiki namespace creation
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

It currently says "last updated 03:23, 26 October 2024".
The first 500 pages include 12 old redirects in the MOS namespace:

1 MOS:FILM
2 MOS:NOPIPE
166 MOS:IMAGERELEVANCE
241 MOS:BROKENSECTIONLINKS
274 MOS:NOTES
315 MOS:LEAD
317 MOS:CAPS
326 MOS:INFOBOX
339 MOS:DRAFTNOLINK
357 MOS:LIST
434 MOS:PROSE
468 MOS:BIO

The links are red although the pages exist, e.g. https://en.wikipedia.org/wiki/MOS:FILM?redirect=no created in 2007 with no moves or deletions in the logs. MOS became a namespace at enwiki in September 2024 (T363538). The pages were in mainspace before that.

What should have happened instead?:

The MOS pages should not have been listed when they exist.

Event Timeline

Pppery subscribed.

Probably the database still stored the pages in question as linking to mainspace rather than MoS space, and since the mainspace page doesn't exist WantedPages complains.

This will fix itself slowly as any page with the link in question is reparsed. I thought namespaceDupes was supposed to fix it, but I guess it didn't.

FWIW, I tried doing a purge on some templates (via api with recursivelinksupdate set) to see if that would help.

This isn't fixing itself - these pages are getting entries for both namespace=0 title='MOS:whatever' and namespace=126 title='whatever', rather than the latter replacing the former. For an example page I happened upon today, and tried unsuccessfully to fix by briefly removing the MOS: link entirely:

MariaDB [enwiki_p]> SELECT pagelinks.*, linktarget.* FROM pagelinks JOIN linktarget ON lt_id = pl_target_id JOIN page ON page_id = pl_from WHERE page_namespace = 10 AND page_title = 'R_from_short_cut' AND lt_title LIKE '%NOPIPE';
+----------+-------------------+--------------+-----------+--------------+------------+
| pl_from  | pl_from_namespace | pl_target_id | lt_id     | lt_namespace | lt_title   |
+----------+-------------------+--------------+-----------+--------------+------------+
| 39507473 |                10 |      5543400 |   5543400 |            0 | MOS:NOPIPE |
| 39507473 |                10 |    101191794 | 101191794 |          126 | NOPIPE     |
+----------+-------------------+--------------+-----------+--------------+------------+