Wiki View History Range Links Not Functioning Properly

Wiki View History Range Links Not Functioning Properly

by Virgil Varvel -
Number of replies: 2
When playing with the wikis, I discovered the following item on our server. Moodle by default only shows so many versions in the first history window. There are links at the bottom that allow you to show other previous versions, but these links dont work, because the link isnt complete. The code at the end of the link that specifies page= should say page=info/title. It is instead going to page=title without the info part. All this does is reload the view of the most recent page. The rest of the link includes an n=# and an e=# part. N specifies what record the history should start at and the e specifies how many records to show.

So lets say that I am in a wiki in a specific course. This will give us the link http://URL/mod/wiki/view.php?id=4747

This first part of the URL gives us the wiki address id for the assignment wiki in the given course.

If we add to it to make http://URL/mod/wiki/view.php?id=4747&page=info/group we now get to view the last 25 changes to the page.

If you want to view a specific range of changes, you have to fix the link that Moodle provides. For example, If I was in the wiki above and selected one of the view history links at the bottom of the page for changes 1 through 23 in the given wiki, Moodle would give me the following link, http://URL/mod/wiki/view.php?id=4747&page=group&n=23&e=1 which will only load the same thing as the first link above since page=group is not recognized. You basically have to go up to the address bar of your browser and add info/ before the word group, to create the following URL, http://URL/mod/wiki/view.php?id=4747&page=info/group&n=23&e=1 in order to see what you wanted. You could even create your own link and use http://URL/mod/wiki/view.php?id=4747&page=info/group&n=93&e=1 in order to see everything from the first through the 93rd iteration, although it may take a couple of seconds for this page to load.


So, am I doing something wrong, is our server missing something, or is this a glitch?  We are using the Wiki in Moodle 1.5

Thanks,
Virgil


Average of ratings: -
In reply to Virgil Varvel

Re: Wiki View History Range Links Not Functioning Properly

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Virgil,

it seems to be Bug 3750. Was fixed and seems to work fine under Moodle 1.5.2+

Ciao smile