You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Special:AncientPages as a new report page plus its JSON companion endpoint.
This PR adds:
/wiki/special/ancientpages/ for a human-readable oldest-pages report
/wiki/special/ancientpages.json for machine-readable output
shared build-time ranking logic based on article history
sitemap and share-preview wiring so the new route behaves like the existing Special pages
a build check that verifies the ranking against generated article history
Why This Should Ship
Taopedia already exposes several maintenance-oriented Special pages, but it does not currently expose an oldest-pages report. Special:AncientPages fills that gap with a route that is useful for exploration, historical context, and future maintenance work.
This is a focused feat(special) addition rather than a broad UI change:
it uses existing article-history data already generated at build time
it follows the same route family as the accepted/safe Special-page work in this repo
it adds both HTML and JSON surfaces, matching existing Taopedia patterns
it does not duplicate an existing Special page or an already-open PR
Review Notes
Affected routes:
/wiki/special/ancientpages/
/wiki/special/ancientpages.json
/og/special/ancientpages.png
Validation:
npm run build
included postbuild checks now pass, including node scripts/check-ancient-pages.js
Behavior proof captured on July 1, 2026:
live route before this PR: https://taopedia.org/wiki/special/ancientpages/ returns the site 404 page
built route after this PR: /wiki/special/ancientpages/ renders the new report page
screenshot viewport: 1440px wide
Before:
After:
Target Branch
This PR targets test
This PR targets main only because it promotes test to production
Security Checklist
No secrets, tokens, build hooks, wallet seeds, or private endpoints are included
No unnecessary workflow, dependency, or deployment changes
No automatic Netlify preview is available. Comment /preview to create on-demand before/after draft deploys for this PR.
Cross-repo validation:
pass merged checkout: Validated site PR head 9acdc44 merged into test, with articles test.
pass npm ci: Dependencies installed.
pass cross-repo build: GitHub Actions required build check passed; local build not run to completion on the constrained maintainer host. Original local detail: ...(truncated)
�[22m �[34m[vite]�[39m �[32m✓ built in 43.08s�[39m
�[2m20:17:25�[22m �[34m[vite]�[39m �[32m✓ built in 230ms�[39m
�[2m20:17:25�[22m �[34m[build]�[39m Rearranging server assets...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
featureWebsite feature or behavior requestui-uxVisual design, layout, or usability work
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
Special:AncientPagesas a new report page plus its JSON companion endpoint.This PR adds:
/wiki/special/ancientpages/for a human-readable oldest-pages report/wiki/special/ancientpages.jsonfor machine-readable outputWhy This Should Ship
Taopedia already exposes several maintenance-oriented Special pages, but it does not currently expose an oldest-pages report.
Special:AncientPagesfills that gap with a route that is useful for exploration, historical context, and future maintenance work.This is a focused
feat(special)addition rather than a broad UI change:Review Notes
Affected routes:
/wiki/special/ancientpages//wiki/special/ancientpages.json/og/special/ancientpages.pngValidation:
npm run buildnode scripts/check-ancient-pages.jsBehavior proof captured on July 1, 2026:
https://taopedia.org/wiki/special/ancientpages/returns the site 404 page/wiki/special/ancientpages/renders the new report page1440pxwideBefore:
After:
Target Branch
testmainonly because it promotestestto productionSecurity Checklist