Skip to content

feat(special): add Special:LonelyPages report page - #1967

Closed
Helios531 wants to merge 1 commit into
e35ventura:testfrom
Helios531:feat-special-lonelypages-report
Closed

feat(special): add Special:LonelyPages report page#1967
Helios531 wants to merge 1 commit into
e35ventura:testfrom
Helios531:feat-special-lonelypages-report

Conversation

@Helios531

Copy link
Copy Markdown
Contributor

Title

feat(special): add Special:LonelyPages report page

Summary

  • add an HTML Special:LonelyPages report at /wiki/special/lonelypages/
  • list the current orphaned articles from the same lonely-pages ranking used by lonelypages.json
  • include each orphan’s summary and published outbound-reference count so editors can distinguish true dead ends from pages that still link out
  • add sitemap / special-page share metadata coverage for the new route
  • extend the existing lonely-pages regression check to verify the built HTML report, row order, and sitemap discovery

Change Type

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Real behavior proof

Before

  • https://taopedia.org/wiki/special/lonelypages returns the site 404 page even though lonelypages.json already exists as a machine-readable maintenance report

After

  • /wiki/special/lonelypages/ renders a browsable orphaned-articles report page instead of falling through to 404
  • the page uses the same orphan ranking as lonelypages.json and exposes each article’s outbound reference count inline

Visual evidence

Special:LonelyPages

  • URL: /wiki/special/lonelypages/
  • Viewport: 1280px wide
  • Expected before behavior: the route falls through to the generic 404 page
  • Expected after behavior: the route renders the Lonely pages report with the orphaned article list and outbound reference counts

Before:

Lonely pages before

After:

Lonely pages after

Validation

  • node scripts/check-lonely-pages.js
  • node scripts/check-og-images.js
  • node scripts/check-sitemap.js

Checklist

  • Branch is based on current test
  • The change is focused on one current missing special-page route
  • Before/after visual evidence is included
  • Matching regression coverage was added
  • No generated article content was committed

@Helios531
Helios531 requested a review from e35ventura as a code owner July 2, 2026 12:18
@taopedia-site-maintainer taopedia-site-maintainer Bot added feature Website feature or behavior request ui-ux Visual design, layout, or usability work labels Jul 2, 2026
@taopedia-site-maintainer

Copy link
Copy Markdown

Verdict: Needs visual approval

PR #1967: feat(special): add Special:LonelyPages report page

Engineering:

  • Review type: Visual/product review
  • CI: All required CI checks passed: build
  • Cross-repo build: pass
  • Risk: high
  • Changed files: 6
  • Changed lines: 137

Changed files:

  • docs/pr-evidence/2026-07-02-lonelypages-report/lonelypages-after.png
  • docs/pr-evidence/2026-07-02-lonelypages-report/lonelypages-before.png
  • scripts/check-lonely-pages.js
  • src/lib/share-preview.ts
  • src/pages/sitemap.xml.ts
  • src/pages/wiki/special/lonelypages.astro

Guardrails:

  • Operational/build/deploy files changed; maintainer review required.
  • Visual layout/style/rendering files changed; visual approval required.

Decision surface:

  • Checks and cross-repo build passed; this is waiting on visual approval only.
  • If the after screenshots look correct, comment /merge.
  • If they look wrong or the change should not ship, comment /close.

What to check:

  • Special page /wiki/special/lonelypages/: page title, table/list content, navigation links, and empty/error states.
  • Changed page route(s): src/pages/sitemap.xml.ts.

Preview links:

  • Production reference: https://taopedia.org
  • 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: PR head c5b013f merges cleanly into test. Build/render is validated by the required GitHub Actions build check.

Human decision:

  • Review only the visual evidence shown above for product fit.
  • Comment /merge to merge if this should ship.
  • Comment /close to close if this should not ship.

Automated review by Taopedia Site Maintainer.

@e35ventura

Copy link
Copy Markdown
Owner

/close

@taopedia-site-maintainer

Copy link
Copy Markdown

Closing by maintainer command /close.


Automated review by Taopedia Site Maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Website feature or behavior request ui-ux Visual design, layout, or usability work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants