Wiki Delete Site
Category wikis ยท Version 5.5
Permanently remove a public federated-wiki domain โ both the remote Nextcloud/WebDAV folder and the local ~/Nextcloud/fedwiki/{domain}/ folder. Activates when deleting or decommissioning a public wiki site. Destructive; checks pages/ is empty unless --force. Kept by the Librarian ๐๏ธ in the Tower's Wikis.
fedwiki-delete-site permanently removes a public federated wiki domain โ both the remote folder on the Nextcloud/wiki server and the local ~/Nextcloud/fedwiki/{domain}/ folder. It uses WebDAV DELETE directly rather than relying on the Nextcloud sync client, which can be slow or prompt for confirmation on large deletions.
Usage
fedwiki-delete-site david.ide.earth
By default the script checks that pages/ is empty and exits with an error if any pages remain โ use the merge skill's trash step first to clear them. To delete anyway:
fedwiki-delete-site david.ide.earth --force
What It Does
- Checks
pages/is empty (or--forceskips this) - WebDAV
DELETEonfedwiki/{domain}/โ recursive, removes everything includingstatus/,recycler/, and any remaining files rm -rfthe local domain folder
HTTP 204 = deleted. HTTP 404 = already gone on the remote (local removal still proceeds).
Only for Public Wikis
This script only works for public wikis in ~/Nextcloud/fedwiki/. For private wikis in ~/Music/Guides/Private/ there is no remote to delete โ just rm -rf the local folder directly.
Safety
This is irreversible on the remote. Confirm the domain name carefully, and prefer the merge workflow (which moves unique content to a successor and trashes the rest to a recycler) before deleting.
Related Skills
agentprivacy-wiki-mergeโ full workflow ending with delete-siteagentprivacy-wiki-reindexโ reindex after bulk page changes before deletingagentprivacy-wiki-nextcloud-pushโ the WebDAV credentials used by this script
Verify: agentprivacy.ai ยท kept by the Librarian ๐๏ธ in the Tower's Wikis (the git-less onboarding layer)
Upstream: skill.fedwiki.club/fedwiki-delete-site โ vendored + re-framed; not original agentprivacy authorship
Provenance
Forkable skill page migrated from the agentprivacy skills repo (persona/agentprivacy-wiki-delete-site, v5.5).
Source of truth: agentprivacy-skills-v5. Fork this page to materialize a local SKILL.md via fedwiki-to-skill.
origin: 0xagentprivacy ยท author: Mitchell Travers
Assets
Navigation
โ Welcome Visitors ยท The Wikis