5

MediaWiki allows embedding images in pages (articles) using the following notation: [[File:filename.extension|options|caption]]

This notation always displays the latest (and greatest) version of the file.

Every file (including images) keep their file history, in which it is possible to see what has changed over time.

Question:

I would like to display a certain version of a file in an article and am not able to figure out how this is done.

Does anybody know an elegant way to do this?

Dave M
  • 13,250
udo
  • 8,061

2 Answers2

2

Not using mediawiki, but here is some info that might be helpful.

Help:URL says:

To link to a particular version of a page: http://en.wikipedia.org/w/index.php?title=Train&oldid=1374279. Note that the version ID is unique across all pages, so the title parameter here has no effect, and can in fact be omitted.

This only seems useful if the page contains just the one image.

Manual:Hooks mentions the GetMetadataVersion extension described as :

Allows to modify the image metadata version currently in use

To know if one of the above is useful will require more knowledge about mediawiki than I have.

harrymc
  • 498,455
0

I can't find a source for this yet, but I believe this is not supported in MediaWiki for practical reasons: If someone vandalizes an image, the image can be protected. If you could display an older (vandalized) version of the image by editing the page it was displayed on, it would nullify the protection of the image.

K.A.Monica
  • 6,641