[fpc-devel] New wiki - issues with changing content

Tomáš Hajný xhajt03 at hajny.biz
Wed Dec 2 15:37:14 CET 2026


Hi Michael (or anybody else able to fix the new wiki implementation ;-) ),

I encountered a really strange behaviour of the new wiki. In particular, 
I tried to change one particular section of a wiki page 
https://wiki.freepascal.org/End_of_Line (namely the section title "End 
of line markers". I used the "edit" link, modified the page and tried to 
save. This resulted in an error - the wiki complained that I was not 
logged on (possibly due to session cookie / token having expired in the 
meantime?). This is already the first problem from my point of view - if 
a user is already recognized and thus allowed to enter the editing mode, 
the wiki software should be able to handle this situation gracefully 
(possibly by requiring new login operation and saving the change 
afterwards) rather than just displaying an error page and loosing the 
performed changes. (FWIW - I used the FPC Forum Login as means for 
authentication.)

However, this was not the end - after logging in again, I reentered 
editing of the same section and restored my previous changes using the 
Firefox Form History Control II plugin. I saved the changes again - but 
when returning to the complete page, the section was still displayed 
without my changes. I thought I'd do the same again, pressed the "edit" 
link for the section again - and surprisingly, I saw my changes 
included! Trying to fix the issue by saving the page again resulted in 
an error message due to the fact that I performed no additional changes 
on the page. A workaround consisting from adding an additional 
(unneeded) space in the middle of the text didn't help - the final page 
is still displayed without any changes. Note that the History of that 
page does not list my change either. Apparently, the pages exist in two 
versions, one in the form of the page sources (possibly in database?), 
another consisting of published static pages - it seems that I managed 
to cause a disconnect between the two and that there's no way to 
re-synchronize them again... :-(

Tomas



More information about the fpc-devel mailing list