r46682 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46681‎ | r46682 | r46683 >
Date:15:44, 1 February 2009
Author:nikerabbit
Status:deferred
Tags:
Comment:
* kill E_NOTICE
Modified paths:
  • /trunk/phase3/includes/diff/HTMLDiff.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/diff/HTMLDiff.php
@@ -839,6 +839,10 @@
840840 }
841841
842842 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+ }
843847 $txt->addHtml( wfMsgExt('diff-changedfrom', 'parseinline', $tagDescription ) );
844848 $this->addAttributes($txt, $this->node->attributes);
845849 $txt->addHtml('.');

Status & tagging log