Topic on Extension talk:UserProtect/Flow

this extension don't work in mediawiki 1.36

3
Summary by Tosfos

Extension only guarantees compatibility for LTS MediaWiki versions.

Gota de agua (talkcontribs)

i tested this extension in mediawiki 1.36, the next mistakes brand:


MediaWiki internal error.

Original exception: [293d303f747e6e4f13dfc066] /wiki/index.php/Usuario:Pino ArgumentCountError: Too few arguments to function MediaWiki\Permissions\PermissionManager::__construct(), 4 passed in /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/extensions/UserProtect/includes/UserProtectHooks.php on line 59 and exactly 9 expected

Backtrace:

from /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/Permissions/PermissionManager.php(221)

#0 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/extensions/UserProtect/includes/UserProtectHooks.php(59): MediaWiki\Permissions\PermissionManager->__construct(MediaWiki\Config\ServiceOptions, MediaWiki\SpecialPage\SpecialPageFactory, MediaWiki\Revision\RevisionStore, NamespaceInfo)

#1 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/vendor/wikimedia/services/src/ServiceContainer.php(447): UserProtectHooks::{closure}(MediaWiki\MediaWikiServices)

#2 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#3 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWikiServices.php(264): Wikimedia\Services\ServiceContainer->getService(string)

#4 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWikiServices.php(1240): MediaWiki\MediaWikiServices->getService(string)

#5 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/user/User.php(4582): MediaWiki\MediaWikiServices->getPermissionManager()

#6 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/user/User.php(4553): User->getThisAsAuthority()

#7 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWiki.php(220): User->authorizeRead(string, Title, MediaWiki\Permissions\PermissionStatus)

#8 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWiki.php(913): MediaWiki->performRequest()

#9 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWiki.php(546): MediaWiki->main()

#10 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/index.php(53): MediaWiki->run()

#11 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/index.php(46): wfIndexMain()

#12 {main}

Exception caught inside exception handler: [293d303f747e6e4f13dfc066] /wiki/index.php/Usuario:Pino ArgumentCountError: Too few arguments to function MediaWiki\Permissions\PermissionManager::__construct(), 4 passed in /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/extensions/UserProtect/includes/UserProtectHooks.php on line 59 and exactly 9 expected

Backtrace:

from /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/Permissions/PermissionManager.php(221)

#0 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/extensions/UserProtect/includes/UserProtectHooks.php(59): MediaWiki\Permissions\PermissionManager->__construct(MediaWiki\Config\ServiceOptions, MediaWiki\SpecialPage\SpecialPageFactory, MediaWiki\Revision\RevisionStore, NamespaceInfo)

#1 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/vendor/wikimedia/services/src/ServiceContainer.php(447): UserProtectHooks::{closure}(MediaWiki\MediaWikiServices)

#2 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#3 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWikiServices.php(264): Wikimedia\Services\ServiceContainer->getService(string)

#4 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWikiServices.php(1240): MediaWiki\MediaWikiServices->getService(string)

#5 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/user/User.php(4582): MediaWiki\MediaWikiServices->getPermissionManager()

#6 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/user/User.php(3133): User->getThisAsAuthority()

#7 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/skins/Skin.php(308): User->isAllowedAll(string, string, string)

#8 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/OutputPage.php(2509): Skin->getDefaultModules()

#9 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/OutputPage.php(2623): OutputPage->loadSkinModules(SkinVector)

#10 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/exception/MWExceptionRenderer.php(147): OutputPage->output()

#11 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/exception/MWExceptionRenderer.php(66): MWExceptionRenderer::reportHTML(ArgumentCountError)

#12 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/exception/MWExceptionHandler.php(106): MWExceptionRenderer::output(ArgumentCountError, integer)

#13 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/exception/MWExceptionHandler.php(185): MWExceptionHandler::report(ArgumentCountError)

#14 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/includes/MediaWiki.php(568): MWExceptionHandler::handleException(ArgumentCountError, string)

#15 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/index.php(53): MediaWiki->run()

#16 /data/web/a1/eb/4e/laplumaazul.tk/htdocs/wiki/index.php(46): wfIndexMain()

#17 {main}

X-Savitar (talkcontribs)

Hi, thanks for reporting this and sorry for the delay.

We're tracking this internally and will get back here once it's fixed on 1.36

Thank you!

Tosfos (talkcontribs)

This extension's compatibility policy is "ltsrel". In other words, it will only have branches for LTS versions of MediaWiki. So I'm not sure it will ever work with 1.36.