diff options
Diffstat (limited to 'includes/diff/HTMLDiff.php')
-rw-r--r-- | includes/diff/HTMLDiff.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/diff/HTMLDiff.php b/includes/diff/HTMLDiff.php index 0698059f..df9f4eb8 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('.'); |