When we try to access Special:QuizGameHome without SocialProfile extension, we get:
/core/index.php/Special:QuizGameHome Error from line 855 of /var/www/html/core/extensions/QuizGame/QuestionGameHome.body.php: Class 'UserStats' not found
Error message. Maybe we should provide clear error message?
Description
Details
Event Timeline
The dependencies are (or should be, anyway) documented on MediaWiki.org.
If you look at the "other social extensions" column on Template:Social tools on MediaWiki.org, all of them have a hard dependency on SocialProfile.
That being said, I'm not opposed to showing a friendlier error message in each and every of these extensions as long as we keep performance in mind (but a simple class_exists check shouldn't add too much overhead), so feel free to submit patches. :)
Change 333386 had a related patch set uploaded (by Filip):
Added clear error message when SocialProfile extension is not installed.
@ashley: @SamanthaNguyen: Patch provides error message in new page, using ErrorPageError. Will provide screenshots, when i'll have access to my setup.
Change 333386 merged by jenkins-bot:
Added clear error message when SocialProfile extension is not installed.
Change 333724 had a related patch set uploaded (by Filip):
Added clear error message when SocialProfile extension is not installed.
Change 333724 merged by jenkins-bot:
Added clear error message when SocialProfile extension is not installed.
Change 333964 had a related patch set uploaded (by Filip):
Added clear error message when SocialProfile extension is not installed.
Change 333964 merged by jenkins-bot:
Added clear error message when SocialProfile extension is not installed.