Can anyone tell me how to include svg in mediawiki?
I wrote some hook function to process a special markup, which returns
something like this:
$svg = '<div><object data="images/test.svg" width=100%
In the page view this code brings me to the new page: Images/test.svg
test.svg does exist in images directory. I guess the path in PHP is
incorrect? Can anyone point me out the error I made? Thanks.