From 71604e39780d55a2d9ceefdede5c0cc76bbca726 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 1 Feb 2009 15:44:01 +0000 Subject: [PATCH] * kill E_NOTICE --- includes/diff/HTMLDiff.php | 4 ++++ 1 file changed, 4 insertions(+) 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('.'); -- 2.20.1