Fixed bugs

- Fixed url for wikis which aren't hosted at the root of the server
- Only convertToSvg if not 'TRANSFORM_LATER'