We're trying to use the Special:WantedPages to show interested editors what parts of the wiki need to be built and we ran into an issue.
Currently, our Special:WantedPages gives a red link even if an internal link is provided, if said link contains a hashtag.
A specific example: our Special:WantedPages gives 7 links for "Samjasa" and shows a red link. However, a link is provided in this form: [[Minor_NPCs#Samjasa|Samjasa]], as you can see here. The internal link also works as intended.
Is there any way to fix this and remove such entries from Special:WantedPages?
Background: we intend to collect "Minor NPCs" on a single page, and only give them their own page if they grow to significant relevance. Still, as many as NPCs as possible should be clickable in a Navbox.
That's not the normal behavior, it looks like a bug you should report.
However, I would definitely recommend making Samjasa a redirect to Minor_NPCs#Samjasa, and the same with all the other entries on that list. People tend to navigate via search more than via navboxes, and if you search for Samjasa, it doesn't give the right page suggestion. It doesn't even give Minor NPCs as the top search result.
This looks like a bug to me in WhatLinksHere... it shouldn't show links to Samjasa when the link is actually to Minor_NPCs. It's like its using the wrong side of the pipe for the link ([[WhatLinksHere_should_use_this|but_seems_to_be_using_this]]).
About 6 days ago, it looks like. So that should be plenty of time for the caches to update. Plus, Special:WhatLinksHere updates almost immediately; so that page definitely shouldn't be showing incorrect results.
Hello everyone! FANDOM staff has reached out to me meanwhile.
The problem was a caching issue after all.
The way to fix it was to refresh the cache of the page with the internal link containing the hashtag. To do this, I only need to edit a page and publish without making any changes.
Special:WantedPages still shows 7 links for 'Samjasa', but the list under Special:WhatLinksHere/Samjasa is now empty, so I think the entry for Samjasa should disappear with the next automatic update of WantedPages.