Page MenuHomePhabricator

Edit Profile, Upload Avatar, Not Working with 1.27.3 and latest version of Social Profile
Closed, InvalidPublic

Description

I've been trying to sort out what's up and why Social Profile is mis-behaving with my Mediawiki installation.

If you try to edit your profile you're given the error message "Fatal error: Call to undefined method MediaWiki\MediaWikiServices::getLinkRenderer() in /home/kitsufo/public_html/cosc2017/extensions/SocialProfile/UserProfile/UserProfileClass.php on line 232" If you try to upload an Avatar you get the error message "Fatal error: Call to undefined method MediaWiki\MediaWikiServices::getLinkRenderer() in /home/kitsufo/public_html/cosc2017/extensions/SocialProfile/UserProfile/UserProfileClass.php on line 232"

The problem seems to be connected as the error messages match, and the error points at the same file/line. Hopefully this can get resolved soon... The site it's on is Children of StarClan, in case you want to look into my exact configuration.

Event Timeline

SamanthaNguyen subscribed.

Hi, the extensions under the social tools umbrella (which includes SocialProfile) are written so that they're only compatible with the latest stable MediaWiki, currently this is MediaWiki 1.28. Please see https://www.mediawiki.org/wiki/Social_tools#MediaWiki_version_support for more information.

Also see https://www.mediawiki.org/wiki/Manual:LinkRenderer:

MediaWiki\Linker\LinkRenderer is a class to create HTML links for a specific title. It was refactored out of the Linker class in MediaWiki 1.28.

Thanks for understanding!