Topic on Extension talk:SourceProtection

Christharp (talkcontribs)

Hi @Sen-Sai loving your work. Unfortunately this great extension doesn't work in 1.38.


Deprecated: Use of userCan hook (used in SourceProtection::disableActions) was deprecated in MediaWiki 1.37. [Called from MediaWiki\HookContainer\HookContainer::run in C:\Bitnami\mediawiki-1.38.2-1\apps\mediawiki\htdocs\includes\HookContainer\HookContainer.php at line 137] in C:\Bitnami\mediawiki-1.38.2-1\apps\mediawiki\htdocs\includes\debug\MWDebug.php on line 377

MediaWiki internal error.

Sen-Sai (talkcontribs)

Thank you Christharp,

I will look into this..

SourceProtection is indeed not updated yet. Latest version supports the current LTS version 1.35x only. I've added it to the version information on the MW page just now. I will see if I can update the extension before the next LTS release in September, hopefully coming week!

Sen-Sai (talkcontribs)

It is strange though.. a deprecation message should only be a warning, not crash afaik.. hmm

Reply to "doesn't work in 1.38"