Release 1.2.0#46
Merged
Merged
Conversation
* A `ConvertToMarkdownModel` maintenance script converts existing wikitext pages to the Markdown content model, selecting them by `.md` suffix and/or namespace, the same way the activation settings select new pages. It changes the content model rather than the page text, skips redirects, and supports `--dry-run` * Fenced code blocks whose info string names a language are now syntax highlighted, the same way a wikitext `<syntaxhighlight>` block is. This needs the SyntaxHighlight extension (bundled with MediaWiki) to be installed; without it, code blocks keep rendering as plain preformatted text * Code blocks no longer get a background pill behind each of their lines, which happened because skins style the `code` element for inline use and CommonMark nests it inside `pre` * A `thumb` file embed alone on its line now renders as a standalone framed thumbnail rather than being wrapped in a paragraph, which produced invalid HTML5 and a stray empty paragraph * A `thumb` embed of a missing file now renders the framed box with its caption and an upload link, the way wikitext does, instead of a bare upload link that silently dropped the caption * Thumbnail embeds now load the same media module MediaWiki loads for wikitext thumbnails, so their magnify affordance works Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #46 +/- ##
=========================================
Coverage 83.34% 83.34%
Complexity 417 417
=========================================
Files 40 40
Lines 1069 1069
=========================================
Hits 891 891
Misses 178 178 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
JeroenDeDauw
marked this pull request as ready for review
July 17, 2026 13:25
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
ConvertToMarkdownModelmaintenance script converts existing wikitext pages to the Markdown contentmodel, selecting them by
.mdsuffix and/or namespace, the same way the activation settings select newpages. It changes the content model rather than the page text, skips redirects, and supports
--dry-run<syntaxhighlight>block is. This needs the SyntaxHighlight extension (bundled with MediaWiki) to beinstalled; without it, code blocks keep rendering as plain preformatted text
codeelement for inline use and CommonMark nests it insideprethumbfile embed alone on its line now renders as a standalone framed thumbnail rather than being wrappedin a paragraph, which produced invalid HTML5 and a stray empty paragraph
thumbembed of a missing file now renders the framed box with its caption and an upload link, the waywikitext does, instead of a bare upload link that silently dropped the caption
affordance works
extension.jsonwas already bumped to 1.2.0 on master, so this only dates the release-notes heading.