[Lenny400] Letux 400 wiki page broken

H. Nikolaus Schaller hns at goldelico.com
Fri Apr 20 19:29:13 CEST 2018


> Am 20.04.2018 um 19:21 schrieb Paul Boddie <paul at boddie.org.uk>:
> 
> On Friday 20. April 2018 18.53.02 H. Nikolaus Schaller wrote:
>> 
>>> Am 20.04.2018 um 16:41 schrieb Paul Boddie <paul at boddie.org.uk>:
>>> 
>>> Sorry, but I think I managed to break one of the wiki pages on the
>>> documentation site:
>>> 
>>> http://projects.goldelico.com/p/letux400/page/GPIO/
>> 
>> seems to be a bug in the MarkDown parser of Indefero triggered by content.
> 
> [...]
> 
>> So it seems to have something to do with table header formatting.
> 
> I think I forgot to put a column separator in the row separator line:
> 
> """
> Port | Pins           | Function | Peripheral
> ----------------------|----------|---------------------
> """
> 
> Spot the problem! Here's the correct version:
> 
> """
> Port | Pins           | Function | Peripheral
> -----|----------------|----------|---------------------
> """

Ah, interesting. Yes, something like this could make a problem.

> 
>> And most likely Indefero was developed / tested on a system where an
>> undefined offset index did not raise errors.
> 
> It's PHP, so I guess that some mode or other was enabled or disabled.

Or after some upgrade of PHP it became more strict.

> 
>>> Fortunately, I have a copy of the text that I wanted to save, but I think
>>> the server gave up on storing the page (or even previewing it), and now
>>> it won't even show the page any more.
>> 
>> Maybe I can patch / fix the problem in Indefero or at least make it
>> not fail completely.
> 
> The quick but annoying solution is to edit the page text, perhaps. Sorry to 
> make work for you, though!

No problem. Bugs must be fixed or trouble may some day become bigger than just
fixing them :)

BR,
Nikolaus



More information about the Lenny400 mailing list