Board Thread:Script Suggestions/@comment-10637-20170628222730

User:Fandyllic suggested I post here in response to a query at w:c:community:Thread:1264124.

I'm looking for a method of seeing which pages on a wiki are linking to an article multiple times. For example, Luke Skywalker might be referenced in the lead paragraph on [a hypothetical article], again in the body of the article, again in an image caption, and yet again in a bulleted list further down.

Special:MostLinkedPages comes close and provides a proxy to Special:WhatLinksHere, but WhatLinksHere doesn't tell you which of those pages are linking to an article more than once in its body.

Would such a script be possible to create and run on a wiki? Many thanks in advance. 