When building plugins that use material from commons (such as from WordPress) it would be ideal not to
- Not have to hardcode thumbpath to upload.wikimedia which breaks in case of redirects
- Not have to make an API-call to get the current path
Reason for getting path is mostly because a file could become a redirect and a normal thumb will brake, while Special:FilePath and API calls stay functional because they resolve redirects.
Syntax:
/wiki/Special:FilePath/Image.jpg/200
/w/index.php?title=Special:FilePath&file=Image.jpg&width=200
Version: 1.18.x
Severity: enhancement