equal
deleted
inserted
replaced
55 <?php |
55 <?php |
56 } |
56 } |
57 |
57 |
58 function wikiFormat($message, $filter_links = true) |
58 function wikiFormat($message, $filter_links = true) |
59 { |
59 { |
60 $wiki = & Text_Wiki::singleton('Mediawiki'); |
60 $wiki = Text_Wiki::singleton('Mediawiki'); |
61 $wiki->setRenderConf('Xhtml', 'code', 'css_filename', 'codefilename'); |
61 $wiki->setRenderConf('Xhtml', 'code', 'css_filename', 'codefilename'); |
62 $wiki->setRenderConf('Xhtml', 'wikilink', 'view_url', scriptPath . '/index.php?title='); |
62 $wiki->setRenderConf('Xhtml', 'wikilink', 'view_url', scriptPath . '/index.php?title='); |
63 $result = $wiki->transform($message, 'Xhtml'); |
63 $result = $wiki->transform($message, 'Xhtml'); |
64 |
64 |
65 // HTML fixes |
65 // HTML fixes |