v1.32.0
2025-12-05
Added
- HTML conversion of
<syntaxhighlight>with Prism highlighting CategoryToken.innerTextToken.prototype.toHtmlnow supports category links at the end of the pageParser.callParserFunctionnow supports custom parser functions defined viaParser.setFunctionHookTitle.prototype.getFileUrlthat internally calls thefilepathparser function to generate aSpecial:Redirect/file/URLParser.lint,Parser.printandParser.toHtml
Fixed
AttributeToken.prototype.lintshould report invalid HTML attributes except foridfor<math>and<chem>tags- Issue with
Token.prototype.expandwhen expanding#tag - Issue with
Token.prototype.expandwhen expanding parser functions with template arguments Token.prototype.cloneNodeshould copy thepageNamepropertyImageParameterToken.linkcan now beundefinedfor invalid links in gallery images
Changed
FileToken.prototype.toHtmlnow callsTitle.prototype.getFileUrlto generate thesrcattribute
Removed
- The old schema of
Config.parserFunctionis no longer supported