r91661 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91660‎ | r91661 | r91662 >
Date:18:03, 7 July 2011
Author:sean_colombo
Status:deferred
Tags:
Comment:
Removed unused local var from Description2.
Modified paths:
  • /trunk/extensions/Description2/Description2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Description2/Description2.php
@@ -49,7 +49,6 @@
5050
5151 $wgHooks['ParserAfterTidy'][] = 'egDescription2ParserAfterTidy';
5252 function egDescription2ParserAfterTidy( &$parser, &$text ) {
53 - global $wgContLang;
5453 $desc = '';
5554
5655 $myText = preg_replace('%<table\b[^>]*+>(?:(?R)|[^<]*+(?:(?!</?table\b)<[^<]*+)*+)*+</table>%i', '', $text);

Status & tagging log