Release status: beta
|Implementation||Parser function, Page action|
|Description||Downloads a RAW copy of <tag>data</tag> parts in a file|
|Author(s)||Philippe Teuwen, Michaël Peeters|
|Latest version||0.5.1 (2014-02-14)|
|MediaWiki||1.11-1.22.1 (>1.22.1 not tested)|
|License||No license specified|
|Example||see download page|
Translate the RawFile extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
§What can this extension do?[edit | edit source]
Downloads a RAW copy of <tag>data</tag> in a file
Useful e.g. to download a script or a patch
It also allows what is called Literate Programming
I think all the extensions section of MediaWiki could benefit from this extension as it's full of code snippets to copy/paste manually...
§Usage[edit | edit source]
Inject the newly defined parser functions in your page and users will be able to download your scripts or patches right away!
See the page of the extension for some examples, the code of the extension itself is written in Literate Programming style.
§Download instructions[edit | edit source]
As the extension is available through the extension itself, no more copy/paste!
Please download this file and place it in
Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
§Installation[edit | edit source]
To install this extension, add the following to LocalSettings.php:
§Security advisories[edit | edit source]
Versions 0.4 and 0.4.1 are vulnerable to remote PHP code injection!!!
Upgrade to version ≥ 0.5 ASAP!