WolfgangFahl / pymediawikidocker

Python controlled mediawiki docker image installation
Apache License 2.0
6 stars 1 forks source link

Use of InternalParseBeforeSanitize hook for MediaWiki 1.35 deprecation message shows #30

Closed WolfgangFahl closed 1 year ago

WolfgangFahl commented 1 year ago

Deprecated: Use of InternalParseBeforeSanitize hook (used in VariablesHooks::onInternalParseBeforeSanitize) was deprecated in MediaWiki 1.35. [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/includes/HookContainer/HookContainer.php at line 137] in /var/www/html/includes/debug/MWDebug.php on line 377

shows for MediaWikis newer than 1.35 the cause seems to be the use of https://www.mediawiki.org/wiki/Extension:Variables see https://www.mediawiki.org/wiki/Topic:W4meplqtdllkgael

WolfgangFahl commented 1 year ago

try setting https://www.mediawiki.org/wiki/Manual:$wgDeprecationReleaseLimit

$wgDeprecationReleaseLimit = "1.35.0";