fix: switch org wiki tab to .profile wiki sidecars #595

Closed
jmiller wants to merge 1 commits from fix/org-wiki-profile-sidecars into main
Owner

Summary

  • Org wiki tab now reads from .profile / .profile-private repo wikis instead of standalone wiki / wiki-private repos
  • Uses Gitea wiki sidecars (.wiki.git) which get folder-based wiki support, sidebar/footer rendering for free

Changes

  • routers/web/shared/user/header.go: Constants + OrgWikiRepoExists updated
  • routers/web/org/wiki.go: findOrgWikiCommit opens WikiStorageRepo()
  • templates/org/wiki/view.tmpl: Empty state text
  • templates/org/settings/options.tmpl: Settings labels

Test Plan

  • Org wiki tab loads public wiki from .profile wiki
  • Members see private wiki from .profile-private wiki
  • View selector toggle works when both wikis exist
  • Settings page shows correct repo names
  • Empty state shows correct instructions

Fixes #594

## Summary - Org wiki tab now reads from `.profile` / `.profile-private` repo wikis instead of standalone `wiki` / `wiki-private` repos - Uses Gitea wiki sidecars (`.wiki.git`) which get folder-based wiki support, sidebar/footer rendering for free ## Changes - `routers/web/shared/user/header.go`: Constants + `OrgWikiRepoExists` updated - `routers/web/org/wiki.go`: `findOrgWikiCommit` opens `WikiStorageRepo()` - `templates/org/wiki/view.tmpl`: Empty state text - `templates/org/settings/options.tmpl`: Settings labels ## Test Plan - [ ] Org wiki tab loads public wiki from `.profile` wiki - [ ] Members see private wiki from `.profile-private` wiki - [ ] View selector toggle works when both wikis exist - [ ] Settings page shows correct repo names - [ ] Empty state shows correct instructions Fixes #594
jmiller added 2 commits 2026-06-09 20:03:37 +00:00
feat: use manifest API as source of truth for update feed metadata (#592)
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Generic: Repo Health / Report Issues (push) Blocked by required conditions
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 3s
aeb36e4312
Replace custom field + config table cascade with manifest-only read
for extension identity fields (element_name, package_type, display_name,
target_version, php_minimum, description). Config table retained only
for licensing fields (download_gating, key_prefix, support_url fallback).

Fix client field: package/component/library/file → administrator.

Remove issues_model import (custom field lookups removed).
fix: switch org wiki tab from standalone repos to .profile wiki sidecars
Generic: Project CI / Tests (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Site Health (pull_request) Has been skipped
Branch Policy Check / Verify merge target (pull_request) Failing after 1s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Access control (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 10s
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Generic: Repo Health / Report Issues (push) Blocked by required conditions
Generic: Repo Health / Access control (push) Successful in 2s
Generic: Repo Health / Site Health (push) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Universal: Auto Version Bump / Version Bump (push) Failing after 12s
Universal: Build & Release / Promote to RC (pull_request) Successful in 33s
Generic: Project CI / Lint & Validate (pull_request) Successful in 40s
PR RC Release / Build RC Release (pull_request) Failing after 40s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 53s
a506e39955
The org wiki tab previously read from standalone `wiki` and
`wiki-private` repos. Those repos have been migrated into the
`.profile` and `.profile-private` repo wikis (Gitea wiki sidecars).

- Update RepoNameWikiPublic/Private constants to .profile/.profile-private
- findOrgWikiCommit now opens WikiStorageRepo() instead of main repo
- OrgWikiRepoExists checks wiki sidecar via GetDefaultBranch
- Update empty state and settings template text

Fixes #594
jmiller closed this pull request 2026-06-09 20:03:55 +00:00
jmiller deleted branch fix/org-wiki-profile-sidecars 2026-06-09 20:03:56 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.