Global feedback according to score in Quiz
Open, Stalled, NormalPublic

Description

A global feedback concerning the score of a user at the end or at the beginning of the corrected page could be added as a feature.

Imported from https://www.mediawiki.org/wiki/Extension_talk:Quiz#A_global_feedback

@Mvolz
One approach might be to add some predefined messages can be added to i18n/en.json such as "Perfect Score", "All answers are incorrect" etc and these can be shown based on percentage.

Mvolz added a comment.Jun 8 2017, 8:43 AM

I think this would be the wrong approach. i18n are for system messages.

Presumably people would want to write their own messages. I think this
would involve extending the Quiz format again.

Harjotsingh added a comment.EditedJun 8 2017, 10:01 AM

@Mvolz
Community feedback would be needed to discuss if this feature is desired or not.

It can be added after <quiz> tag and before questions.

<quiz >
~~ Feedback message %20   // If score is below 20 percentage
~~ Feedback message %40   // If score is below 40 but above 20
~~ Feedback message %60   // If score is below 60 but above 40
~~ Feedback message %100 // If score is below 100 but above 60

{Question
|type="()"}
+ The correct answer.
- Distractor.

</quiz>

The user can give messages and also decide the range defined after %.

Harjotsingh changed the task status from Open to Stalled.Aug 5 2017, 1:28 PM