Hi,
On 28 May 2019, at 03:59, Jon Murphy jcmurphy26@gmail.com wrote:
Just so I understand - Is this an example of the absolute link you are referring to? https://wiki.dev.ipfire.org/installation
Or is a link like this? /installation
Sorry, I just want to make sure I do things correct.
Yes, that would have been an absolute URL.
The advantage of using [[/installation]] is that the software fetches the title of the link and we might make links a different colour if the page does not exist or something.
-Michael
Jon From: Michael Tremer Sent: Monday, May 27, 2019, 11:27 AM To: Jon Murphy Cc: documentation@lists.ipfire.org Subject: Re: New Wiki Software - Please help testing :)
Hello,
Yes, there are differences in plain markdown.
I have seen that you did a couple of changes and I have a couple of notes about those:
- You used absolute links: This is something that should not be done when linking other pages on the wiki. I have spent a lot of time to make the code fast enough when it fetches the headline of the page so that we will show the correct headline. The absolute links don’t work like that.
So wiki links are possible just as they were before with [[page]] and [[page#Other Title]].
- You used the <img> tag to embed an image. The image pages have a short snippet to embed the image:
https://wiki.dev.ipfire.org/ipfire_tux_512x512.png?action=detail
All images will always be full widths by default (and there is no reason not do to that) because all pages have to be responsive and we need to be able to read them on mobile. So using custom heights and widths naturally won’t work. We don’t know how large the screen is someone is using.