Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxHighlight uses deprecated Sanitizer::validateAttributes syntax #13

Closed
RenHoekNL opened this issue Jan 31, 2023 · 3 comments
Closed

Comments

@RenHoekNL
Copy link

On a page where I use SyntaxHighlight, once I click submit, I get a huge page with warnings, foremost:

Deprecated: Use of Sanitizer::validateAttributes with sequential array was deprecated in MediaWiki 1.35. [Called from HighlightjsIntegration::renderSyntaxhighlight in C:\wamp\www\wiki\extensions\Highlightjs_Integration-master\HighlightjsIntegration.class.php at line 42] in C:\wamp\www\wiki\includes\debug\MWDebug.php on line 381

I'm using Mediawiki 1.39.1 (lastest) with latest version of Highlightjs_Integration.

@Nicolas01
Copy link
Owner

Thanks for the feedback. I am going to publish a new version soon to fix it.

@Nicolas01
Copy link
Owner

Fixed in version 2.2

@RenHoekNL
Copy link
Author

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants