Wiki extension for Flarum.
composer require linkrobins/wiki
Then enable it in your forum's admin panel under Extensions.
A wiki / knowledge-base extension for Flarum 2. Members write public articles with full edit history; every change is captured as an immutable revision.
fof/upload.linkrobins-wiki.createArticle — start new articles.linkrobins-wiki.editArticles — edit and moderate (soft-delete / restore) any article, not just one's own.Authors can always edit their own articles. Admins bypass every check. Permanent deletion is admin-only.
/wiki — the article list, with a category filter in the sidebar./wiki/new — write a new article (title, optional category, body)./wiki/:id — the article page, with the rendered body, edit/moderation controls, and the revision history./wiki/:id/edit — edit an existing article.Settings live at admin → Extensions → Link Robins Wiki: full CRUD for article categories.
Three tables:
linkrobins_wiki_categories — name, slug, description, color, icon, position.linkrobins_wiki_articles — category_id, user_id (author), last_edited_by_user_id, title, content (parsed-source), last_edited_at, deleted_at.linkrobins_wiki_revisions — article_id, user_id (editor), title, content, summary.