Steps to replicate the issue:
- Create a sandbox page in the main namespace of a wiki.
- Change its content model to plain text. You can do this via Special:ChangeContentModel/pagename.
- Go to Special:DeadEndPages.
What happens?:
The page you created gets listed in Special:DeadEndPages.
What should have happened instead?:
This is technically a dead-end page as it has no wikilinks. On the other hand, this is essentially a feature that can't be changed. You can even add pseudolinks like [[Foo]] to the page, and they're not parsed.
Other thoughts:
If a page is something else that doesn't have any links from it for some reason, that would presumably have similar behaviour.
If a page has another content model, like Markdown or HTML, but actually contains links, would that throw a false positive?
So should this check that a page is wikitext before checking for no links? That seems to be the best response.