includes/wikiengine/parse_mediawiki.php
changeset 1112 679916c80599
parent 1106 01315acbc22b
child 1127 4b858862c35c
equal deleted inserted replaced
1111:8fae8fb3cbb1 1112:679916c80599
    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)