Author: olaf
Description:
Patch that adds a parser function "medialocalurl" and creates a new alias "mediafullurl" for "filepath".
I want to propose the attached patch, that will do the following:
- It introduces a new parser function "medialocalurl", that will returns the local URL of the given media file (e.g. [{{medialocalurl:foobar.jpg}} an image])
- Corresponding to the parser functions "localurl" and "fullurl", this function complements the parser function "filepath", that returns the full url.
- To better represent this correspondance, it also renames the function "filepath" to "mediafullurl".
- For compatibility, it keeps the parser function "filepath" as an alias of "mediafullurl".
If the patch is accepted, I will gladly write the (still missing) documentation (in-code, and on the Mediawiki wiki).
Version: unspecified
Severity: enhancement
attachment patch2.diff ignored as obsolete