Skip to content

Commit

Permalink
3.62.0 stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagigas-at-wiris authored Mar 6, 2018
1 parent c4b603d commit cb53091
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# WIRIS Quizzes Embedded answer (Cloze) question type
# Wiris Quizzes Embedded answer (Cloze) question type
### Master Build Status
[![Build Status](https://travis-ci.org/wiris/moodle-qtype_multianswerwiris.svg?branch=master)](https://travis-ci.org/wiris/moodle-qtype_multianswerwiris)
### Development Build Status
[![Build Status](https://travis-ci.org/wiris/moodle-qtype_multianswerwiris.svg?branch=master)](https://travis-ci.org/wiris/moodle-qtype_multianswerwiris)

The WIRIS Embedded answer (Cloze) question type extends the Moodle Embedded answer type, adding mathematical functionality to it.
The Wiris Embedded answer (Cloze) question type extends the Moodle Embedded answer type, adding mathematical functionality to it.

All mathematical items are generated in a single calculation section and they can be referenced from anywhere in the content, in the question statement, answer, feedback for the student, etc.

On the student's side, they will be able to introduce their answers by using a WYSIWYG formula editor and, if the teacher so specifies, they will have access to a WIRIS cas session to make some calculations. The answer syntax checker will prevent the students from unnecessary errors and misspellings.
On the student's side, they will be able to introduce their answers by using a WYSIWYG formula editor and, if the teacher so specifies, they will have access to a Wiris cas session to make some calculations. The answer syntax checker will prevent the students from unnecessary errors and misspellings.

## Install instructions

Expand All @@ -23,4 +23,4 @@ Alternatively, download the zip from <https://github.com/wiris/moodle-qtype_mult

## License

WIRIS Embedded answer (Cloze) question type is Licensed under the [GNU General Public, License Version 3](https://www.gnu.org/licenses/gpl-3.0.en.html).
Wiris Embedded answer (Cloze) question type is Licensed under the [GNU General Public, License Version 3](https://www.gnu.org/licenses/gpl-3.0.en.html).
4 changes: 2 additions & 2 deletions backup/moodle1/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public function get_question_subpaths() {
return array(
'ANSWERS/ANSWER',
'MULTIANSWERS/MULTIANSWER',
'MULTIANSWERWIRIS',
'MULTIANSWERWIRIS/WIRISOPTIONS'
'MULTIANSWERWiris',
'MULTIANSWERWiris/WirisOPTIONS'
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
defined('MOODLE_INTERNAL') || die();

/**
* Provides the information to backup multianswerwiris questions
* Provides the information to backup multianswerwiris qtypes
*/

class backup_qtype_multianswerwiris_plugin extends backup_qtype_multianswer_plugin {
Expand Down
2 changes: 1 addition & 1 deletion question.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public function join_question_text() {

/**
*
* @return String Return the general feedback text in a single string so WIRIS
* @return String Return the general feedback text in a single string so Wiris
* quizzes can extract the variable placeholders.
*/
public function join_feedback_text() {
Expand Down
2 changes: 1 addition & 1 deletion questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function initialise_question_instance(question_definition $question, $que
parent::initialise_question_instance($question, $questiondata);

$question->subquestions = $question->base->subquestions;
// Add WIRIS quizzes question to subquestions.
// Add Wiris Quizzes question to subquestions.
foreach ($question->subquestions as $key => $subquestion) {
if (substr($subquestion->get_type_name(), -5) == 'wiris') {
$question->subquestions[$key]->wirisquestion = $question->wirisquestion;
Expand Down
4 changes: 2 additions & 2 deletions renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function subquestion(question_attempt $qa, question_display_options $opti
}
/**
* Helper/Hack class which is a mix between the base shortanswer question class
* and the shortanswerwiris question class so it is usable by the multianswer
* and the shortanswerwiris qtypes class so it is usable by the multianswer
* renderer functions.
* **/
class qtype_multianswerwiris_shortanswer_helper_question extends qtype_shortanswer_question {
Expand Down Expand Up @@ -73,7 +73,7 @@ public function get_matching_answer(array $response) {
return $this->subq->get_matching_answer($response);
}
// This code is for retro-compatibility. The attempts graded
// with previous versions of WIRIS quizzes don't have the
// with previous versions of Wiris Quizzes don't have the
// '_matching_answer' var but a '_fraction' var. We re-grade
// such answers in order to have the new data and therefore
// have the good rendering of correct/incorrect responses.
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2018020600;
$plugin->release = '3.61.0.1034';
$plugin->version = 2018030600;
$plugin->release = '3.62.0.1035';
$plugin->requires = 2011060313;
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'qtype_multianswerwiris';
$plugin->dependencies = array (
'qtype_wq' => 2018020600
'qtype_wq' => 2018030600
);

0 comments on commit cb53091

Please sign in to comment.