Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: Wiki (1.x)
-
Labels:None
-
Environment:winxp sp2/xampp php5 mysql5
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
Description
wiki page can not be shown sometimes, you can never know when it happens.
Hi Roy!
This trouble happened in Japanese environment too.
Tha cause of this trouble is caching of formatted wiki contents for database.
We had solved the trouble by commenting out as follows.
mod/wiki/ewiki.php:
function ewiki_page_css_container(&$o, &$id, &$data, &$action) {
// $o = "<div class=\"wiki $action "
// . strtr($id, ' ./ --_!"§$%&()=?²³{[]}`+#*;:,<>| @µöäüÖÄÜߤ^°«»\'
',
// '- -----------------------------------------------')
// . "\">\n"
// . $o . "\n</div>\n";
$o = "<div class=\"wiki $action\">\n" . $o . "\n</div>\n"; // change to this.
}
', // '- -----------------------------------------------') // . "\">\n" // . $o . "\n</div>\n"; $o = "<div class=\"wiki $action\">\n" . $o . "\n</div>\n"; // change to this. }