Wiki

"Module wiki is missing the code needed to perform this function"

 
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Alan Cherwinski
"Module wiki is missing the code needed to perform this function"
 

On Moodle 2.2.2+ (Build: 20120427) using the core Wiki Module version 2011011001.

When I attempt to generate Reports (e.g. Course participation) on the Wiki activity with any variety of variables, I get the following error.

Module wiki is missing the code needed to perform this function
Stack trace:
    line 435 of /lib/setuplib.php: moodle_exception thrown
    line 181 of /report/participation/index.php: call to print_error()

There is activity by both Students and teachers in the Wiki.

 

Are the report feature intended to function for the Wiki, I see reports on the Moodle site of issues with the feature dating back to 2008.

The Activity report show Zero, while the Wiki history shows activity.

 

Thank you for any assistance or insight.

Alan

 

(Found it reported in the Bug Tracker as MDL-27415)

 
Average of ratings: -
Picture of hemalatha arun
Re: "Module wiki is missing the code needed to perform this function"
 

To get the wiki course participation report,

please try this code snippet in mod/wiki/lib

/**
* For Participantion Reports
*
* @return array
*/
function wiki_get_view_actions() {
return array('view');
}


function wiki_get_post_actions() {
return array('add','update','record delete');
}

 
Average of ratings: -