Skip Navigation

Editing Wiki Docs

So, when we edit or comment on posts we have this lovely editing interface:

But when we are editing pages, we have this interface:

How difficult would it be to use the same editor for both posts and pages?

I ask this for a reason: the post editor allows pasting in images, whereas the pages editor does not. Therefore, with pages the author has to upload the images to their account and then link them (or put them on an external location). I can see this as being problematic if the owner of a community steps down and passes it on to someone else -- it would be possible to accidentally mess up links...

Or worse, what happens if the previous owner deletes their account? Do all the images associated with that account go away?

P.S. I think the name Wiki is a misnomer. The feature allows for simple page editing, and none of the linking features that are the defining feature of a wiki. ;)

8 comments
  • Yes this is completely doable. Please add it to the PieFed codeberg as an issue so we don't forget.

    I guess the images would need to be saved into a community account rather than the author's account.

    It's a wiki in the sense that authorship is shared but you're right making broken links go to a 'create a page here' form would be much better.

    • It would be really cool if there were some way to do automatic page / index generation (ie, select all pages with a specific tag, or possibly a sectioned type system). IE, have the wiki generate it's own Table of Contents as an entry page...

      But, that's not stuff that needs to be considered now.

      I'll create a Codeberg issue.

      Done: https://codeberg.org/rimu/pyfedi/issues/1539

      • Thanks.

        Yeah the wiki feature is very much at the MVP stage, with an emphasis on minimum. It'd be good to flesh it out.

8 comments