Index: trunk/extensions/Description2/Description2.php |
— | — | @@ -49,7 +49,6 @@ |
50 | 50 | |
51 | 51 | $wgHooks['ParserAfterTidy'][] = 'egDescription2ParserAfterTidy'; |
52 | 52 | function egDescription2ParserAfterTidy( &$parser, &$text ) { |
53 | | - global $wgContLang; |
54 | 53 | $desc = ''; |
55 | 54 | |
56 | 55 | $myText = preg_replace('%<table\b[^>]*+>(?:(?R)|[^<]*+(?:(?!</?table\b)<[^<]*+)*+)*+</table>%i', '', $text); |