Skip to content

Split demo screenshots by MediaWiki version, add version header - #79

Merged
jmnote merged 1 commit into
mainfrom
add-mw145-screenshots
Sep 6, 2026
Merged

Split demo screenshots by MediaWiki version, add version header#79
jmnote merged 1 commit into
mainfrom
add-mw145-screenshots

Conversation

@jmnote

@jmnote jmnote commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to closing #60: to make it easy to check whether a bug is specific to one MediaWiki version, hack/demo/demo.sh now reads MW_VERSION (default 1.43) to pick the mediawiki Docker image tag and save captures to docs/screenshots-$MW_VERSION instead of a single docs/screenshots.

  • Existing captures moved to docs/screenshots-1.43 (unchanged target, just renamed).
  • docs/screenshots-1.45 added by running MW_VERSION=1.45 make screenshots — this is also the reproduction evidence behind closing MathJax error with MediaWiki 1.45 #60 (no error, renders correctly).
  • Every demo page now opens with a SimpleMathJax <version>, MediaWiki {{CURRENTVERSION}} line, so a screenshot alone shows what it was captured against, without cross-referencing the directory name.
  • Makefile and AGENTS.md updated to document MW_VERSION.

Testing

  • Regenerated all 9 demo captures for both docs/screenshots-1.43 and docs/screenshots-1.45; spot-checked both screenshot-default01.pngs show the correct MediaWiki version (1.43.9 / 1.45.4) and matching SimpleMathJax version (1.0.1) in the header line.
  • bash -n hack/demo/demo.sh passes.

🤖 Generated with Claude Code

hack/demo/demo.sh now reads MW_VERSION (default 1.43) to pick the
mediawiki Docker image tag and save captures to
docs/screenshots-$MW_VERSION instead of a single docs/screenshots,
so screenshots from different MediaWiki versions don't overwrite each
other — useful for checking whether a bug is specific to one version
(as with issue #60).

Existing captures moved to docs/screenshots-1.43 (they were already
against that image), and docs/screenshots-1.45 was added by running
`MW_VERSION=1.45 make screenshots`.

Every demo page now also opens with a "SimpleMathJax <version>,
MediaWiki {{CURRENTVERSION}}" line, so a screenshot is self-describing
about what it was captured against without cross-referencing the
directory name.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@jmnote
jmnote merged commit a961df9 into main Sep 6, 2026
2 checks passed
@jmnote
jmnote deleted the add-mw145-screenshots branch September 6, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant