This extension lets you link to a file to download, but forcing it to have a different filename when saved. This works by setting the Content-Disposition header.
Syntax: [[Special:DownloadWithFilename/name of file page/filename to save as]]
The File:
namespace prefix is not required.
Example:
[[Special:DownloadWithFilename/File:My Picture.png/image.png]]
will downloadFile:My Picture.png
and be saved asimage.png
[[Special:DownloadWithFilename/FooApplicationConfig.ini/config.ini]]
will downloadFile:FooApplicationConfig.xml
and be saved asconfig.ini
[[Special:DownloadWithFilename/FooBarModSettings-Version2.0.3.yml/Settings.yml]]
will downloadFile:FooBarModSettings-Version2.0.3.yml
and be saved asSettings.yml
The maximum file size that can be downloaded through this page is 1048576 bytes.