Skip to content

Organize wiki into topic CMS collections while preserving URLs - #52

Merged
nschimme merged 2 commits into
mainfrom
organize-pages-cms-topics
Oct 5, 2026
Merged

nschimme merged 2 commits into
mainfrom
organize-pages-cms-topics

Conversation

@nschimme

@nschimme nschimme commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Replace the single large Pages CMS collection with 12 topic groups and 54 alphabetic leaf collections for 1,150 articles. Keep every existing /wiki/pages/<Filename> URL, cross-link, tag, alias and legacy redirect. GitHub edit/create links target the physical source folders. Add reader breadcrumbs, topic listings, production canonical URLs and non-indexable previews without duplicate hierarchical article URLs.

Enable Markdown WYSIWYG editing with an Editor/Source switch and update contributor instructions. Use Source mode for spoilers, includes, HTML, scripts and components. Article content is unchanged apart from include-path adjustments and the contributor-guide update.

Optimize autolinking with precomputed URL-to-term lookups and one lowercase conversion per text node. One comparison with the same Docker/Node CPU-profiler settings measured 156.04 → 78.69 seconds (49.6% faster); runtime varies.

Validation

  • Docker builds and browser checks at /wiki/, /, and /wiki/pr-99/.
  • All 1,150 original URLs, heading IDs, titles, descriptions, tags and aliases compared with the original build. Production canonical URLs and sitemap entries match unchanged routes without physical-folder duplicates.
  • Permanent prebuild tests and dead-link/anchor validation pass.
  • Browser checks covered article loading, breadcrumbs, search, topic navigation, physical GitHub edit/create paths and legacy MediaWiki redirection. Preview output had no sitemap and included noindex, nofollow.
  • All 1,149 unchanged article bodies rendered identically after autolinker optimization; the contributor guide was intentionally updated.

Remaining live checks

Pages CMS cold loading/reloading, trusted-editor saves/new-page creation, special-Markdown WYSIWYG round trips and deployment remain unverified. Check all leaf collections, including the oversized Shaman Guide and empty Classes collection, and record results in this PR.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 300 files, and this pull request has 1185

@nschimme
nschimme merged commit c1312be into main Oct 5, 2026
2 checks passed
@nschimme
nschimme deleted the organize-pages-cms-topics branch October 5, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant