In a plugin I want to be able to read and manipulate the contents of an uploaded media file. How do I get the filesystem filename of the media file in my plugin, when right now it seems all I can get is the namespace and filename within the wiki?
For instance, if I have a media file titled
:user:somemediafile.svg
I want to be able to convert it to
/var/www/html/path/to/my/wiki/data/media/user/somemediafile.svg
or whatever the equivalent on that server is.
Thank you!