includes/wikiengine/Parse/Mediawiki/Wikilink.php
changeset 35 efae425e9b98
parent 1 fe660c52c48f
child 72 bda11e521e8a
equal deleted inserted replaced
34:80f52593bee9 35:efae425e9b98
    98      */
    98      */
    99     function Text_Wiki_Parse_Wikilink(&$obj)
    99     function Text_Wiki_Parse_Wikilink(&$obj)
   100     {
   100     {
   101         $default = $this->conf;
   101         $default = $this->conf;
   102         parent::Text_Wiki_Parse($obj);
   102         parent::Text_Wiki_Parse($obj);
       
   103         
       
   104         global $paths;
       
   105         $this->imageConf = array(
       
   106           'prefix' => array(':' . $paths->nslist['File'])
       
   107           );
   103 
   108 
   104         // override config options for image if specified
   109         // override config options for image if specified
   105         if (in_array('Image', $this->wiki->disable)) {
   110         if (in_array('Image', $this->wiki->disable)) {
   106             $this->imageConf['prefix'] = array();
   111             $this->imageConf['prefix'] = array();
   107         } else {
   112         } else {