Outside of all the tools in Special:SpecialPages, is there a way to see which pages 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.
Thanks, that's very helpful. I've been running it for a bit and figured out I can automatically skip if it doesn't find at least two occurrences of a string being referenced in the article using [[foo]].*[[foo]] as a regex.
So, this is pretty much exactly what I was looking for. Thanks again!
How about finding ^(.*)?(han solo) and replacing it with \1[[\2]]? (It sounds to me like it will replace the last occurrence but if the previous one replaced the first occurrence incorrectly it might be worth a try)