Index: HideRevision.php =================================================================== --- HideRevision.php (revision 21987) +++ HideRevision.php (working copy) @@ -611,8 +611,12 @@ 'rows' => 25, 'wrap' => 'virtual', 'readonly' => 'readonly' ), - $text) . - "" ); + $text) ); + if($text==''){ + $wgOut->addHtml(""); + }else{ + $wgOut->addHtml(""); + } } } $dbr->freeResult( $result );