includes/wikiengine/parse_mediawiki.php
changeset 1106 01315acbc22b
parent 1081 745200a9cc2a
child 1127 4b858862c35c
equal deleted inserted replaced
1105:0e46639fd408 1106:01315acbc22b
    16   public $rules = array(
    16   public $rules = array(
    17     'bold'   => "/'''(.+?)'''/",
    17     'bold'   => "/'''(.+?)'''/",
    18     'italic' => "/''(.+?)''/",
    18     'italic' => "/''(.+?)''/",
    19     'underline' => '/__(.+?)__/',
    19     'underline' => '/__(.+?)__/',
    20     'externalwithtext' => '#\[((?:https?|irc|ftp)://.+?) (.+?)\]#',
    20     'externalwithtext' => '#\[((?:https?|irc|ftp)://.+?) (.+?)\]#',
    21     'externalnotext' => '#\[((?:https?|irc|ftp)://.+?)\]#'
    21     'externalnotext' => '#\[((?:https?|irc|ftp)://.+?)\]#',
       
    22     'hr' => '/^[-]{4,} *$/m'
    22   );
    23   );
    23   
    24   
    24   private $blockquote_rand_id;
    25   private $blockquote_rand_id;
    25   
    26   
    26   public function lang(&$text)
    27   public function lang(&$text)