This project contains the setup of https://wiki.nixos.org
Checkout ./targets/nixos-wiki.nixos.org for an example terraform deployment on hetzner cloud.
This is useful if you want to run your own instance. Every day an xml dump is updated here:
https://wiki.nixos.org/wikidump.xml.zst
$ systemctl stop phpfpm-mediawiki.service
$ borg-job-wiki list
$ borg-job-wiki mount [email protected]:wiki.nixos.org/repo::wiki-wiki-2024-04-01T12:40:37 /tmp/restore
$ ls -la /tmp/restore/var/lib/mediawiki/backup/
$ sudo dropdb db
$ sudo -u postgres dropdb mediawiki
$ systemctl restart postgresql.service
$ sudo -u postgres pg_restore -d mediawiki < /tmp/restore/var/lib/mediawiki/backup/db
$ systemctl start phpfpm-mediawiki.service
$ ls -la /tmp/restore/var/lib/mediawiki-uploads/
$ umount /tmp/restore/
We created the Oauth app with read-only access and minimal permissions:
Unfortunally GitHub mis-represents this information. Read more about this issue here: https://github.com/orgs/community/discussions/37117
https://matrix.to/#/#wiki:nixos.org
Currently, the users having priviledged roles on the wiki are: