From: Niklas Laxström Date: Sun, 1 Feb 2009 15:44:01 +0000 (+0000) Subject: * kill E_NOTICE X-Git-Tag: 1.31.0-rc.0~43081 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=71604e39780d55a2d9ceefdede5c0cc76bbca726;p=lhc%2Fweb%2Fwiklou.git * kill E_NOTICE --- diff --git a/includes/diff/HTMLDiff.php b/includes/diff/HTMLDiff.php index 0698059f47..df9f4eb81f 100644 --- a/includes/diff/HTMLDiff.php +++ b/includes/diff/HTMLDiff.php @@ -839,6 +839,10 @@ class NoContentTagToString extends TagToString { } public function getRemovedDescription(ChangeText $txt) { + $tagDescription = wfMsgExt('diff-' . $this->node->qName, 'parseinline' ); + if( wfEmptyMsg( 'diff-' . $this->node->qName, $tagDescription ) ){ + $tagDescription = "<" . $this->node->qName . ">"; + } $txt->addHtml( wfMsgExt('diff-changedfrom', 'parseinline', $tagDescription ) ); $this->addAttributes($txt, $this->node->attributes); $txt->addHtml('.');