Index: trunk/phase3/includes/diff/HTMLDiff.php |
— | — | @@ -839,6 +839,10 @@ |
840 | 840 | } |
841 | 841 | |
842 | 842 | public function getRemovedDescription(ChangeText $txt) { |
| 843 | + $tagDescription = wfMsgExt('diff-' . $this->node->qName, 'parseinline' ); |
| 844 | + if( wfEmptyMsg( 'diff-' . $this->node->qName, $tagDescription ) ){ |
| 845 | + $tagDescription = "<" . $this->node->qName . ">"; |
| 846 | + } |
843 | 847 | $txt->addHtml( wfMsgExt('diff-changedfrom', 'parseinline', $tagDescription ) ); |
844 | 848 | $this->addAttributes($txt, $this->node->attributes); |
845 | 849 | $txt->addHtml('.'); |