r47341 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47340‎ | r47341 | r47342 >
Date:22:40, 16 February 2009
Author:thomasv
Status:ok
Tags:
Comment:
minor
Modified paths:
  • /trunk/extensions/DoubleWiki/DoubleWiki.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DoubleWiki/DoubleWiki.php
@@ -74,10 +74,10 @@
7575 #add prefixes to internal links, in order to prevent duplicates
7676 $translation = preg_replace("/<a href=\"#(.*?)\"/i","<a href=\"#l_\\1\"",
7777 $translation );
78 - $translation = preg_replace("/<font id=\"(.*?)\"/i","<font id=\"l_\\1\"",
 78+ $translation = preg_replace("/<li id=\"(.*?)\"/i","<li id=\"l_\\1\"",
7979 $translation );
8080 $text = preg_replace("/<a href=\"#(.*?)\"/i","<a href=\"#r_\\1\"", $text );
81 - $text = preg_replace("/<font id=\"(.*?)\"/i","<font id=\"r_\\1\"", $text );
 81+ $text = preg_replace("/<li id=\"(.*?)\"/i","<li id=\"r_\\1\"", $text );
8282
8383 #add tags before h2 and h3 sections
8484 $translation = preg_replace("/<h2>/i","<div title=\"@@h2\"></div>\n<h2>",

Status & tagging log