Two days ago, I deployed the official wiki for lemmy.dbzer0.com. It’s using django-wiki as a software, which other than being markdown-based and therefore helping lemmings easily migrate documentation over, provides python hooks for doing some really cool stuff.

For example my current version is tied to my lemmy instance. This means that while everyone can read the wiki, only registered users of my instance can edit articles. This helps prevents the usual problem of open wikis, which is drive-by spam articles, and ensures that only people with interest in the wiki can use it.

I plan to extend this integration in the future. I am thinking things like minimum account age to edit all or some pages, profile pages which enable even tighter integrations, being able to specify “trusted instances” which would allow edits from their users as well, and so on.

But that’s not all, the same approach I used, can also be used to integrate with any fediverse software, like mastodon. This means each instance could theoretically have its own wiki to extend the information adjacent to it.

I’ll soon (I hope) will provide an ansible playbook that anyone can use to deploy it which will also provide my custom code to integrate with lemmy.

  • tal@kbin.social
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    9 months ago

    Reddit had the ability to have a per-subreddit wiki. I never dug into it on the moderator side, but it was useful for some things like setting up pages with subreddit rules and the like. I think that moderators had some level of control over it, at least to allow non-moderator edits or not, maybe on a per-page basis.

    That could be a useful option for communities; I think that in general, there is more utility for per-community than per-instance wiki spaces, though I know that you admin a server with one major community which you also moderate, so in your case, there may not be much difference.

    I don’t know how amenable django-wiki is to partitioning things up like that, though.

    EDIT: https://www.reddit.com/wiki/wiki/ has a brief summary.

    • poVoq@slrpnk.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      Indeed that is also what I had in mind regarding linking up a Wiki to Lemmy.

      It should be possible I guess to link community membership to wiki groups and those groups each have their own name-space that looks like a seperate wiki more or less.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    9 months ago

    Hmm, I am working on a similar Dokuwiki integration. Have not gotten very far with it though. Maybe I should give this a look instead 🤔

    • db0@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 months ago

      While I love Dokuwiki as well, the fact that it has a slightly different markup language would be a stumbling block for users moving info over. Also, django-wiki is python, which I know and can extend, while Dokuwiki is php, which I don’t. :)

    • Blizzard@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      9 months ago

      Dookuwiki

      Have not gotten very far with it though.

      Master Kenobi, you disappoint me. Yoda holds you in such high esteem. Surely you can do better!

  • Dave@lemmy.nz
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    Is there a reason you went with this approach of claiming accounts (as opposed to say the system for Fediseer, where it messages you on Lemmy to claim it, or the lemmy Oauth system)?

    • db0@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      9 months ago

      Yes, there’s no current hooks provided by django-wiki for user registration etc. I have opened requests to add them and I’m planning to adjust the procedure further then. I could also extend the django-wiki myself, but I have my hands full already with my other projects.

      Ultimately the best would indeed be some sort of lemmy oauth system to register. I’m hoping this might be possible at some point in the future. This kind of thing requires more developers jumping in and this is partly why I make these posts as well.

      • FeminalPanda@lemmings.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 months ago

        That would be great, I have been looking at alternatives for the trans surgery wiki on Reddit in case they go the way of Tumblr.

  • meteokr@community.adiquaints.moe
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    This is extremely cool, thank you for your work! Would you consider supporting a container deployment alongside existing container hosted Lemmy instances? No worries if that breaks to far from your workflow.

    • db0@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      Sadly there’s no container for django-wiki atm. The existing implementation is 3 years old and unmaintained so it’s fallen very far behind. My deployment is pure ansible, so I plan to post a public version of it, but if you want it in container form to sit alongside lemmy, someone else has to dockerize it and ensure it’s up to date

      • meteokr@community.adiquaints.moe
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Ah, if that’s the case then I’ll work on making my own container image based on your ansible implementation. Don’t worry about it, you’re already doing more than I can. Looking forward to the release!