There should be a way to retrieve the page image of the article "White House" from the article "Barack Obama". In the case of "White House", we want to be able to retrieve the string "File:White House north and south sides.jpg" so that it can be used in embedding.
Editors would be able to easily re-use this image string in wrapper templates to auto-include the image and a link to the associated article. This would be useful in "See also" sections of articles and in lists. I imagine we'd find some other creative uses for it as well.
I don't think batching is needed for a first pass implementation (this feature could initially be marked as "expensive"), but if it's not crazy difficult to implement, batching would be preferable.
Potential implementation options:
- a parser function such as {{#getpageimage:Page title}}
- a Scribunto/Lua function
See also