Moodle

wiki support for myMoodle print_overview

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.8.3
  • Fix Version/s: None
  • Component/s: Wiki (1.x)
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE

Description

I'd like to see wiki updates appear in myMoodle. Attached is a function which I think does it, but I'd love a code review before it gets committed!

It needs 2 lang strings to go with it for "entry since last login" and "entries since last login"

Issue Links

Activity

Hide
Ray Lawrence added a comment -

Jenny, what activity does this register? New pages, every (major and minor) edit to a wiki page?

Show
Ray Lawrence added a comment - Jenny, what activity does this register? New pages, every (major and minor) edit to a wiki page?
Hide
Jenny Gray added a comment -

Similar to the glossary module offering, we've copied the code from the recent-activity block for consistency. In the case of the wiki, it takes everything that's been entered into the log database table with module wiki and action edit.

I'm not familiar enough with the wiki code itself to know exactly what it logs as "edit".

One random thought here, I know there's some discussion about replacing the core wiki module. Since we're offering these improvements in Moodle 2.0 (as agreed with Martin recently), I wonder how far its worth going working on the current wiki module?

Show
Jenny Gray added a comment - Similar to the glossary module offering, we've copied the code from the recent-activity block for consistency. In the case of the wiki, it takes everything that's been entered into the log database table with module wiki and action edit. I'm not familiar enough with the wiki code itself to know exactly what it logs as "edit". One random thought here, I know there's some discussion about replacing the core wiki module. Since we're offering these improvements in Moodle 2.0 (as agreed with Martin recently), I wonder how far its worth going working on the current wiki module?
Hide
Ray Lawrence added a comment -

Thanks. I read that discussion yesterday, my guess is not very far.

Show
Ray Lawrence added a comment - Thanks. I read that discussion yesterday, my guess is not very far.
Hide
Jenny Gray added a comment -

I'm picking up this now that Gareth has left the OU. I've reviewed the attached patch to see if anything needed changing now 1.9 has been released, but it looks OK to me.

Martin could you please review, and let me know if its OK to commit to HEAD (only).

Show
Jenny Gray added a comment - I'm picking up this now that Gareth has left the OU. I've reviewed the attached patch to see if anything needed changing now 1.9 has been released, but it looks OK to me. Martin could you please review, and let me know if its OK to commit to HEAD (only).

People

Vote (2)
Watch (3)

Dates

  • Created:
    Updated: