Unrelated to my previous post (which is apparently so long that nobody bothers to read it through)
Now we have a lot of work to do on Commons to accomodate the images, and I came across the following problem. Let me cite an example.
There were 12 files uploaded of the St. Paul and the St. Peter Cathedral in Peterhof, Russia. Most, if not all of them are uncategorized (meaning only have the categories autoimatically inherited from the template). This is one example (I have just categorized it):
http://commons.wikimedia.org/wiki/File:%D0%A1%D0%BE%D0%B1%D0%BE%D1%80_%D0%BF...
The cathedral has an id which is 7801172001. All pictures uploaded under WLM have the template with the ID.
There are also pictures of the cathedral uploaded before September 2011. There is a separate category for the cathedral:
http://commons.wikimedia.org/wiki/Category:Saints_Peter_and_Paul_Cathedral_%...
They have no id template.
Can the following work done by a bot?
1) I (or somebody else) puts in the category the ID template for a certain monument (this of course only works if a category corresponds to one and only one monument);
2) A bot searches for all files with this monument ID and addes the category (possibly removing the parent category if applicable);
3) A bot adds the ID template to all files in the category.
Is it feasible? Is it reasonable? Could it be done on a regular basis? I guess it would save a lot of time to those who work on Commons. Though categorizing 12 files and adding templates to 20 more files is not a big deal, doing this for every popular monument can be a bit annoying.
Cheers Yaroslav