]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/diff/HTMLDiff.php
MediaWiki 1.15.0
[autoinstallsdev/mediawiki.git] / includes / diff / HTMLDiff.php
index 0698059f473ae28a8e3cd0e96c34aa696e9fb54c..df9f4eb81f729af7513b87fd6c4d5c03013c0b0f 100644 (file)
@@ -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('.');