install/includes/stages/license.php
changeset 851 b98798f6572d
parent 801 eb8b23f11744
child 1029 1d9846ec37f5
equal deleted inserted replaced
850:ccedb36dd929 851:b98798f6572d
    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