When I "imported" the Wiki all I got was the undeveloped first page.
I tried to export as zip and then upload the files to the new course. This brought the files but doesn't duplicate the same Wiki in the new course.
Can anyone help?
(version 1.8)
Let's try "Backup" and "Restore" of Wiki contents.(Not Impot)
"Export as zip" feature has many bugs (I had already corrected all of bugs for my moodle site). It's very useful feature, but Exported wiki is HTML format. It's not wiki.
Backup of wiki has a bug.Change like as follwing.
function wiki_backup_one_mod(), mod/wiki/backuplib.php.
// fwrite ($bf,full_tag("PAGENAME",4,false,$wiki->wtype));
fwrite ($bf,full_tag("PAGENAME",4,false,$wiki->pagename));
fwrite ($bf,full_tag("WTYPE",4,false,$wiki->wtype));
fwrite ($bf,full_tag("EWIKIPRINTTITLE",4,false,$wiki->ewikiprinttitle));
The Wiki is in course A and I want to copy it over to course B including all the additions that the students have added.
You can copy a backup file (zip-format) that is made in course A to course B. After copying a backup file to course B you restore it in course B. Then you can get the same wiki-contents, in course A and course B.
Step1. In course A, make backup file which contains Wiki contents.
Step2. Copy backup file (.zip) from course A to course B.
Step3. In courseB, restore it.
Backup file is generated on backupdata folder under each course folder.