This repository was archived by the owner on Oct 13, 2026. It is now read-only.
Repository navigation
docs(mcp): name Wikipedia and MediaWiki in the intro; delete unused placeholder images - #32
Merged
Merged
Conversation
…ediaWiki API
The /mcp/ page is titled "Wikipedia & MediaWiki revision-history MCP
server", but its first paragraph, which build.mjs also uses as the meta
and og:description, named neither. The paragraph now says the server
analyzes page revision histories from Wikipedia or any MediaWiki API.
That matches the code: the analyze, claim and export tools take an `api`
parameter ("MediaWiki API base URL"), and the client defaults to
https://en.wikipedia.org/w/api.php.
The description is 150 characters, under the 155-character cut. The
`wikihistory mcp` alias moves to the Quick start sentence beside the
command.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 docs/assets/refract-docs-*.png scene renders (badge, og, favicon, touch-icon and so on), their docs/assets/source.svg, and the two scripts that generated and checked them (scripts/generate-scenes.ts, scripts/check-assets.ts), with their package.json entries (assets:generate, assets:check). Nothing referenced them: no page, build.mjs (the Open Graph image is social-card.png, rendered by social-card.mjs), test, CI workflow, hook or package script outside the two being removed. The build now copies 5 assets instead of 24; lint, 103 tests and the build pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Two follow-ups to #31, which is merged (squash
5c27a16on main), so this branch is based on main.1. Name Wikipedia and MediaWiki in the
/mcp/intro#31 retitled the page "Wikipedia & MediaWiki revision-history MCP server". Its first paragraph, which
build.mjsalso uses as the meta andog:description, named neither.Before:
After:
origin/main:analyze,claim,exportandget_statement_historytools take anapiparameter, described as "MediaWiki API base URL" (packages/mcp/src/index.ts).https://en.wikipedia.org/w/api.php(packages/ingestion/src/mediawiki-client.ts).api.wikihistory mcpalias moved to the Quick start sentence beside the command, so it stays on the page.2. Delete the unused placeholder images (separate commit)
Removed:
docs/assets/refract-docs-*.pngscene rendersdocs/assets/source.svgscripts/generate-scenes.tsandscripts/check-assets.ts, with theirpackage.jsonentries (assets:generate,assets:check)Before deleting, I grepped for each filename,
source.svg, both script names and both npm script names across every tracked file: docs,build.mjs,social-card.mjs, tests, e2e,.github/workflows/{ci,deploy}.yml,.husky/pre-commit, lint-staged config andpackage.json. The only references were inside the two scripts and their twopackage.jsonentries. The Open Graph image issocial-card.png, whichsocial-card.mjsrenders at build time. After the build,dist/contains none of the names.Also unreferenced, but not deleted because they weren't on the list:
docs/assets/refract-docs-demo.gifanddocs/assets/refract-ui-diff.png.Checks
npm run lint: 0 errors. The 3 warnings are pre-existingnoDescendingSpecificitywarnings inassets/style.css.npm test: 103 of 103 pass.npm run build: 53 pages. The build copied 24 assets before and copies 5 after.🤖 Generated with Claude Code