Experiment: How to obscure mis-spelled file names
editAs a WikiGnome, I occasionally get the urge to correct some typos in Wikipedia. I have a list of those that interest me, and I automate a search for them. Of course, many are actually correct citing of a misspelling. To avoid finding those over and over again, I usually convert them to templates - either {{Not a typo}} or {{sic}}, depending on the circumstances, using the ability of those templates to break the word into two parts so it isn't found in a source search.
But that doesn't work for certain cases - typically when there is a typo in a file name, and that file name is being brought into a page, e.g. in an image, gallery, or info box.
Update: It does work for the gallery example below. So I'm going to keep this page sitting here until the next time I come across a case that doesn't work, and then will copy that case in here for testing. As long as this paragraph is here, the following is not an example of a case that doesn't obscure properly.
I may have it figured out: Having just discovered a case that didn't work, I noted the important difference. If a gallery is laid out with the <gallery> . . . </gallery> tags, file name obscuring doesn't work. If it's done with the {{gallery ... }} template, it works. So I'll experiment with changing <gallery>s to {{gallery}}s when I encounter this problem. See if any other cases arise.
This page is my place to play with this challenge, trying to figure out a way to obscure a file name in such a way that
- It still renders properly on the page; but
- It is not found by insource: searches for the typo in question.
Here's a test gallery with a couple of images, in an un-tinkered form:
-
Construction of Washington portrait at Mount Rushmore, c. 1932
-
Washington is commemorate on a quarter.
-
Washington on a dollar coin
Here's the same gallery with various attempts to obscure the file names:
-
Construction of Washington portrait at Mount Rushmore, c. 1932
-
Washington spellyng on a dollar coin