2

Probably a simple question answered million times, but I can't find an answer. MediaWiki can track missing pages and report those with Special:WantedPages. I'm not sure if it's possible, but can MediaWiki report broken anchors? Say, I have the Foo page that refers the Bar page like this: [[Bar#Name]]. Let's assume the Bar page lacks this section therefore the Name section does not exist there, but Special:WantedPages won't report this link as broken because the Bar page exists. Is there any way to find all broken anchors? Thanks in advance!

1

Not very critical, but unfortunately it seems that MediaWiki does not support such a feature out of box, although it was requested multiple times. :( See more at https://phabricator.wikimedia.org/T18561. Thanks to Ciencia Al Poder from the MediaWiki Project Support Desk.

(Edit 1)

Another thanks go to Tgr that suggested to use BrokenAnchorBot. This solution requires Pywikibot and seems to really answer the question. Also, Tgr seems to have an account at the site, and if he puts his answer here too, I'd be happy to mark his answer as the best one since the bot seems to fix my issue without having built-in support.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.