Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/artemis-development-group/artemis/llms.txt

Use this file to discover all available pages before exploring further.

Every branch on Artemis has its own wiki — a collection of Markdown pages that moderators and approved contributors can create and edit. Wikis are well suited for community guides, FAQ documents, and branch rules, but they also power several core configuration pages that control how the branch itself behaves. This page covers creating and editing wiki pages, browsing revision history, managing edit permissions, and the special reserved pages every branch has.

Accessing the wiki

A branch’s wiki is at /r/:branchname/wiki/. The index page is at /r/:branchname/wiki/index. Any specific page is at:
/r/:branchname/wiki/:page
Page names are lowercase and stored with the branch name as a composite key. Nested pages use forward slashes (e.g. guides/getting-started).

Creating a wiki page

1

Navigate to the create route

Go to /r/:branchname/wiki/create/:page where :page is your desired page name.
2

Write the content

Enter Markdown content in the editor. The editor supports standard Markdown including headings, lists, links, and code blocks.
3

Add a reason

Optionally add a reason for the edit — this is saved in the revision history.
4

Save

Click Save page. This calls POST /api/wiki/edit and creates the page.
These namespaces are reserved and cannot be used as page names: edit/, revisions/, settings/, discussions/, pages/, create/.

Editing a wiki page

Any user who meets the branch’s wiki edit requirements can edit pages at:
/r/:branchname/wiki/edit/:page
Or call the API directly:
POST /api/wiki/edit
ParameterTypeDescription
pagestringThe page name to edit
contentstringThe full Markdown content of the page
reasonstringOptional edit summary saved in revision history
previousstringOptional UUID of the previous revision, used for conflict detection

Revision history

Every save creates a new revision. You can browse a page’s full history at:
/r/:branchname/wiki/revisions/:page
The site-wide recent revisions feed across all wiki pages is at:
/r/:branchname/wiki/revisions

Reverting a revision

Moderators can revert a page to any previous revision:
POST /api/wiki/revert
ParameterTypeDescription
pagestringPage name
revisionstringUUID of the revision to restore

Hiding a revision

Moderators can hide a revision from public view without reverting:
POST /api/wiki/hide

Wiki permissions

Branch moderators control who can edit the wiki via the wikimode setting on the branch:
wikimode valueWho can edit
disabledNobody (wiki is locked)
anyoneAny user who meets the karma and account age thresholds
modonlyOnly moderators
When wikimode is anyone, two additional thresholds apply:
  • wiki_edit_karma — minimum combined karma required (default: 100)
  • wiki_edit_age — minimum account age in days required (default: 0)

Approved wiki contributors

Moderators can explicitly grant wiki edit access to specific users regardless of wikimode, by adding them to the wikicontributors list at /r/:branchname/about/wikicontributors. To add or remove a user’s wiki access via the API:
POST /api/wiki/alloweditor/add
POST /api/wiki/alloweditor/del

Wiki-banned users

Users who abuse the wiki can be banned from editing at /r/:branchname/about/wikibanned. Wiki-banned users can still read pages but cannot make edits.

Page length limits

Each wiki page has a maximum size enforced at save time. The default is set by wiki_max_page_length_bytes in the server configuration. Several special pages have their own overrides:
PageMax size
config/stylesheet128 KB
config/sidebar5,120 bytes
config/submit_text1,024 bytes
config/description500 bytes
usernotes1 MB
All other pagesServer default (wiki_max_page_length_bytes)

Special pages

Certain pages in the config/ namespace are reserved and mod-only. They are created automatically when a moderator edits the corresponding branch setting.
PagePurpose
config/automoderatorAutoModerator rules in YAML format
config/descriptionBranch public description
config/sidebarBranch sidebar content (Markdown)
config/stylesheetCustom CSS stylesheet for the branch
config/submit_textText shown above the submission form
The config/automoderator page is only visible to moderators — its view permission level is set to 2 (mod-only). Non-moderators cannot read the AutoModerator configuration.

AutoModerator configuration

AutoModerator rules are stored in config/automoderator as YAML. Moderators edit this page at:
/r/:branchname/wiki/edit/config/automoderator
Rules are processed automatically against new submissions and comments. Each rule specifies match conditions and actions (remove, approve, set flair, post a comment, etc.).
# Example AutoModerator rule
type: link
domain: example-spam-site.com
action: remove
action_reason: "Removed by AutoModerator: prohibited domain"
For a full reference on AutoModerator rule syntax, see the AutoModerator documentation.

Listing all wiki pages

To see every wiki page in a branch:
/r/:branchname/wiki/pages
This returns the full list of page names, which is useful for navigation or auditing.

Build docs developers (and LLMs) love