includes/wikiengine/parse_mediawiki.php
changeset 1174 def792dd9b1b
parent 1156 417e66a664d0
child 1217 feeb49aa6270
equal deleted inserted replaced
1173:b5b8e7ab0914 1174:def792dd9b1b
    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     'mailtonotext' => '#\[mailto:([^ \]]+?)\]#',
    22     'mailtonotext' => '#\[mailto:([^ \]]+?)\]#',
    23     'mailtowithtext' => '#\[mailto:([^ \]]+?) (.+?)\]#',
    23     'mailtowithtext' => '#\[mailto:([^ \]]+?) (.+?)\]#',
    24     'hr' => '/^[-]{4,} *$/m'
    24     'hr' => '/^[-]{4,} *$/m',
       
    25     'code' => '/^<code>(?:\r?\n)?(.+?)(?:\r?\n)?<\/code>$/mis'
    25   );
    26   );
    26   
    27   
    27   private $blockquote_rand_id;
    28   private $blockquote_rand_id;
    28   
    29   
    29   public function lang(&$text)
    30   public function lang(&$text)