I discussed some options with @aparcar today about the future of the openwrt wiki.
The technological status quo of the mediawiki is quite dated. We are looking for a way to use a better future proof technology for this.
Historically, the mediawiki has the function of 3 tools:
- welcome, releases, contact, links to important pages
- toh, devices, instructions
- user created docs, FAQ, recurring installation and development guidelines
@aparcar already drafted a new solution for the first part: https://aparcar.codeberg.page/openwrt-org/
(source is here: https://codeberg.org/aparcar/openwrt-org/ )
This looks good, is based on hugo (SSG) and is editable by the openwrt team, while everyone can make suggestions through a git-based workflow.
No. 2/3 should be user editable, and I guess that we do not want to rely fully on GitHub for editing.
For 2. the LineageOS approach mentioned in https://lists.openwrt.org/pipermail/openwrt-devel/2025-February/043774.html is quite good and has been followed here: https://aparcar.org/openwrt-devices/devices/tp-link_archer_c7_v5/ (source: https://github.com/aparcar/openwrt-devices ) - but does not easily enable editing by users.
For 3. we need a proper wiki for sure anyway.
Users
As the forum software Discourse does not provide an OIDC/OAuth2 endpoint (but rather can consume one), the login for the wiki must be newly created when migrating as we can’t really migrate the existing users either.
The decision on a way forward should be made in consultation of the community and wiki users. That’s why I am posting here.
Wiki-Software
Possible alternatives are https://docmost.com/ , https://www.notion.com/ , Wiki.js (https://js.wiki/) and others (feel free to suggest things).
I currently think that wiki.js would be a good solution, as it has a solid Git-based backend and therefore can be eventually used to store editable markdown files, which are then consumed by other tools (e.g. the openwrt-devices page).
I wonder though how large edit volumes are handled and if it suits for the size of OpenWrt project.
Current Tweaks in DokuWiki
Unfortunately, there are many tweaks in the current openwrt Wiki:
- Indexes are automatically created with scripts (migration or replacement needed)
- placeholders for warnings and notes are inserted into other wiki pages (not possible in wikijs)
- various tables can be created from ToH and are embedded into the articles (maybe possible customization https://github.com/requarks/wiki/discussions/6506 )
- scripts automatically update all occurances of e.g. latest release links
- …
Do you see other things/requirements to a new solution which must be respected?
What do you think of splitting up representation from the dokuwiki web page?