Page MenuHomePhabricator

Fix page handled by Structured Discussions, while the Title class indicates that the content model is 'wikitext'
Open, Needs TriagePublic

Description

This page displays this message, while not being editable.

The page is being handled by Structured Discussions, but the Title class indicates that the content model is 'wikitext'. This is a misconfiguration or inconsistent state. For example, this may actually be a non-Structured Discussions page in a Structured Discussions namespace, with rev_content_model not populated.

https://ca.wikipedia.org/w/index.php?title=Viquip%C3%A8dia_Discussi%C3%B3:Guia_b%C3%A0sica/Proves&action=info lists the page as wikitext content. Trying to change the content model gives me the following outcome:

wikitext conversion.jpeg (548×781 px, 103 KB)

We should make sure that all pages presenting this error are filtered and converted to be proper wikitext pages.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This is some sort of old DB corruption - the revision database thinks the page is a Flow board, but the Page database thinks its wikitext. Probably related to T337807

I suspect someone who has delete access there can just delete the page, which will resolve the inconsistency and turn it into a deleted (and probably empty with zero topics) Flow board.

(Note that Flow has a bug that viewing a deleted Flow board often doesn't work - it might be worth looking at the Flow database to determine whether it knows about a board with that title. Also this is the talk page of what seems to be the sandbox, so there probably isn't any useful content anyway)

See the log of this page: https://ca.wikipedia.org/wiki/Especial:Registre?page=Viquip%C3%A8dia+Discussi%C3%B3%3AGuia+b%C3%A0sica%2FProves. It was inadvertently moved along with the associated page. Probably its content is a redirect while the content model was not changed. I confirm it is a sandbox page. Local sysops cannot change the content model or delete it.

We can change the model, but I don't know if the existing content would be kept.