[Mediawiki-l] change Media tag to point to external file editing
Gregor Rot
gregor.rot at gmail.com
Tue Mar 24 11:47:12 UTC 2009
Hi everybody,
i would like to change the Media tag to point to external editing of
wiki media files, for example:
[[Media:my_file.pdf]]
now generates a link like:
http://myserver/images/d/d3/my_file.pdf
but i have configured external file editing and would like a link like:
http://myserver/index.php?title=Image:my_file.pdf&action=edit&externaledit=true&mode=file
I have tried to code in includes/parser/Parser.php (function
replaceInternalLinks) with no success.
Could somebody point me to the right direction?
thank you,
Gregor
More information about the MediaWiki-l
mailing list