Rename the wiki pages without hyphens #80

Merged
Tirsvad merged 1 commits from rename-wiki-pages-no-hyphens into main 2026-10-12 12:03:34 +02:00
Owner

The Publish wiki run after the rename merge (run 785) failed with HTTP 400.

Cause

Gitea stores a wiki page whose name has a hyphen under an escaped address (Getting-started.-). The shared publisher compares its page key Getting-started with that address, finds no match, and tries to create the page again; Gitea answers 400. The first run (780) passed only because every page was new.

Change

  • Getting-started is now GettingStarted and SSH-and-tokens is now SshAndTokens, the CamelCase style the wiki of TirSystem/github-action uses.
  • Links in Home, _Sidebar, Troubleshooting and the renamed pages point to the new names.

Done on the wiki already

The two stale pages Getting-started.- and SSH-and-tokens.- were deleted through the API. Until this is merged the wiki has only Home, Troubleshooting and _Sidebar; the merge publishes the two renamed pages.

After merging

The Publish wiki log should end with Published 2 page(s) (two created, nothing deleted: prune is off).

The shared publisher still fails for any hyphenated page name; that is a bug of TirSystem/github-action to report there. No issue is closed by this pull request.

The Publish wiki run after the rename merge (run 785) failed with HTTP 400. ## Cause Gitea stores a wiki page whose name has a hyphen under an escaped address (`Getting-started.-`). The shared publisher compares its page key `Getting-started` with that address, finds no match, and tries to create the page again; Gitea answers 400. The first run (780) passed only because every page was new. ## Change - `Getting-started` is now `GettingStarted` and `SSH-and-tokens` is now `SshAndTokens`, the CamelCase style the wiki of `TirSystem/github-action` uses. - Links in `Home`, `_Sidebar`, `Troubleshooting` and the renamed pages point to the new names. ## Done on the wiki already The two stale pages `Getting-started.-` and `SSH-and-tokens.-` were deleted through the API. Until this is merged the wiki has only Home, Troubleshooting and `_Sidebar`; the merge publishes the two renamed pages. ## After merging The Publish wiki log should end with `Published 2 page(s)` (two created, nothing deleted: `prune` is off). The shared publisher still fails for any hyphenated page name; that is a bug of `TirSystem/github-action` to report there. No issue is closed by this pull request.
Tirsvad added 1 commit 2026-10-12 12:02:54 +02:00
Rename the wiki pages without hyphens
Quality checks / quality-checks (pull_request) Successful in 29s
Quality / quality (pull_request) Successful in 29s
32fa6a819e
Gitea stores a page whose name has a hyphen under an escaped address
(Getting-started.-), which the shared publish workflow does not match, so
the second run tried to create the page again and got HTTP 400. Use
GettingStarted and SshAndTokens, as the wiki of TirSystem/github-action
does.
Tirsvad merged commit 44ee25d97d into main 2026-10-12 12:03:34 +02:00
Tirsvad deleted branch rename-wiki-pages-no-hyphens 2026-10-12 12:03:34 +02:00
Sign in to join this conversation.