User:Lyra Botstrings/dpl/images

See parent page for more detail.

[ Update results] (if it feels like working)

Images
In addition to the sections below, the following prefix searches often have misnamed files:
 * The first few images starting with each number [ here]
 * Screenshots [ here]

There are additional patterns and prefixes that have been problems in the past but have been corrected. As long as new images continue to be policed, it is not necessary to list such possibilities here.

Untagged profile images
Note that profile images not in Category:Profile images will not be included; a bot can be run on relevant pages (List of ponies/characters pages, Characters, etc) to ensure that most of them are categorized.

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found nottitlematch = %S__E__.%|%S_E_.%|%S__E_.%|%S_E__.%|%EG.%|%EG2.%|%EG3.%|%annual%|Comic issue%|%Micro-Series issue%|Friends Forever issue%|%FIENDship is Magic issue% ignorecase = true namespace = File category = Profile images format= ,#%PAGE%,\n '''

And here are profile images (same caveat as above) that do not have the "ID" or "id" tag, which isn't really necessary but I figured I'd list them too.

Untagged images
All show images without tags. A couple more exceptions may need to be added, though some false results may be missing relevant categories. Listings from the above section will be duplicated.

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found nottitlematch = %S__E__.%|%S_E_.%|%S__E_.%|%S_E__.%|%EG.%|%EG2.%|%EG3.% namespace = File categorymatch = % images notcategory = Season 5 animatic images notcategory = Comics images notcategory = Home media images notcategory = International edit images notcategory = Promotional images notcategory = Show production images notcategory = Toy images notcategory = Other MLP-related images notcategory = Fanmade images notcategory = Non-MLP images notcategory = Badge images notcategory = Navbox images notcategory = 8 bit images notcategory = Hot Minute images notcategory = IPony apps notcategory = Adventures in Ponyville images notcategory = Castle Creator images notcategory = Discover the Difference images notcategory = My Little Pony (mobile game) images notcategory = PonyMaker images notcategory = Power Ponies Go images notcategorymatch = %merchandise% format= ,#%PAGE%,\n '''

Fanmade images
Fanmade images with punctuation following the tag.

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found titleregexp = ^FANMADE[^_]|^FANMADE_[^A-Za-z0-9"'] namespace = File category = Fanmade images format= ,#%PAGE%,\n '''

No spaces
Images with no spaces in the file name. Some may be only one word, which can be fine for non-MLP images and such.

Need to find a way to match images that start with "FANMADE " and don't have any spaces after that. Can't get DPL to cooperate, so might need to script that.

And here's a limited set of some with a similar problem.

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found titleregexp = ^Pinkie_Pie[^s_,'"] namespace = File format= ,#%PAGE%,\n '''

Dimensions
Any other metadata to include? Note that images with an "xxxpx-" prefix are usually duplicates (could be from another wiki, however).

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found titleregexp = [0-9]x[0-9]|px- namespace = File format= ,#%PAGE%,\n '''

Animated images
Category:Animated images - note that not all of these are necessarily animated, so ones that are not should be added as exceptions.

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found namespace = File notcategory = Animated images titlematch = %.gif ignorecase = true format= ,#%PAGE%,\n '''

Show name prefixes
It is unnecessary to specify "MLPFiM" and the like on the wiki for MLPFiM. Exceptions may include things such as the card and mobile games, but there may be alternate ways to name those.

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found titlematch = %MLP%|%FiM%|%My Little Pony%|%Friendship is Magic% ignorecase = true namespace = File format= ,#%PAGE%,\n '''

Spelling and grammar
Since these aren't always caught immediately, a persistent section may be helpful. Many more can be added whenever I think of them.

TODO: add one for files that have "and" and then a word ending in "s", to catch pluralization errors. Make it more specific if possible so that it is more accurate.

"[c|w|sh]ould of":

''' allowcachedresults = true resultsheader = Listing %PAGES% pages out of %TOTALPAGES% found\n oneresultheader = Listing only one result found\n noresultsheader = Nothing found titlematch = %ould of% ignorecase = true namespace = File format= ,#%PAGE%,\n '''

Add character names
TODO: add DPLs for files with "[a] pony" (see prefix Pony), "[a] filly", etc. so that characters' names can be filled in.

Character name mistakes
Applebloom, AppleBloom, AppleJack

Any multiple-word names (e.g. Granny Smith) should be checked for any alternations, but that's a ton of possibilities. Should at least do it for the main characters.

add DJ Pon-3 (whatever the official capitalization and punctuation is)

Miscellaneous
To do: find files with any non-ASCII characters in the title, because in most cases they aren't necessary (such as all the weird stuff people put in video titles). Not sure how to do that with DPL regex.