Hi,
On 27 May 2019, at 18:10, Matthias Fischer matthias.fischer@ipfire.org wrote:
On 27.05.2019 18:27, Michael Tremer wrote:
Hello,
...
- Matthias saved the same page a couple of times. That definitely shows that we need a preview function :)
Yep. My opinion: I/we need this. Every now and then it happens that you'll miss something or produce a typo. A preview function would help avoiding this.
Okay, I just pushed some changes.
There is now a preview function which automatically updates. I quite like it. Tell me what you think.
I do not want to point any fingers here at all. But I learned things from this. If it felt natural for you to do these things, but it was meant in another way then this is a bug in the software.
But I have no idea how to find a good solution for this. Admittedly nothing is documented yet, but future editors might not read the documentation. People edit first and I do want anyone to edit this wiki. We care about the information first, but we need to make sure that people do not mess up the markup.
That's why I - personally - would like to have something like 'Markdown’.
We sort of have markdown, but actually we almost use it to highlight words in bold.
I have added an image tag that works like the ones on Dokuwiki using {{…}}.
I think that Dokuwiki is quite bad in that sense that it allows to be messy with the markup. This is also why conversion into another language is so difficult. There is multiple ways to do something and they can be mixed. Horror.
I wrote this with DokuWiki and I think, I know what you mean: http://www.copfilter.org/wiki
But I liked the editing tools... ;-)
We will get something done there.
So what springs to mind here is: We could refuse saving the page when something is not right.
+1
I was rather pointing out that that is a bad idea lol
But I think that might feel very frustrating. An <img> tag should never show up. If we find that, then we can just throw an error.
What do you guys think could work?
We should at least throw an error, refuse to save and go back to editing mode.
This is a horrible UI.
-Michael
P.S. I pushed out a couple of fixes, but I do not have a preview function yet. Not sure whether I can make that update live or if we will have a button. Or maybe a two-step save process. I need to explore that a little. Please send me your thoughts in case you have any ideas. But make them easy to implement :)
I need a documentation... ;-)
You will get it. But since I am dropping the content of the whole wiki again and again to test the import, I cannot write anything yet.
First thing that puzzled me today, e.g.:
On https://wiki.dev.ipfire.org/actions/edit/installation/step1 at page bottom there is a link to the next step: [[./step2]].
This leads to https://wiki.dev.ipfire.org/installation/step1/step2
So links work like this:
When you are in /installation/step1, then using a link like [[step2]] will translate to /installation/step2.
If you are using [[./something]], then that will result in /installation/step1/something.
And [[../blah]] of course will go back one step and result in /blah.
But this link doesn't work ("Page does not exist") and I have no chance to test it. I can only change something, save the page and and pray that it works. I tried and get: "oops, something went wrong". Hm. Yes. Great. ;-)
But what is the right syntax at this point? I'll try on weekend...
Best, Matthias
-Michael