(bug 37184) Removed hard coded parentheses in RevisionList.php
authorpmolina <patriciomolina@gmail.com>
Sat, 2 Jun 2012 15:02:57 +0000 (12:02 -0300)
committerpmolina <patriciomolina@gmail.com>
Sat, 2 Jun 2012 15:40:54 +0000 (12:40 -0300)
Change-Id: I1d391e7234b48ca870fffbdb48bd2ca03285a050

includes/RevisionList.php

index 488ef52..44c7912 100644 (file)
@@ -371,13 +371,13 @@ class RevisionItem extends RevisionItemBase {
        }
 
        public function getHTML() {
-               $difflink = $this->getDiffLink();
+               $difflink = wfMessage( 'parentheses' )->rawParams( $this->getDiffLink() );
                $revlink = $this->getRevisionLink();
                $userlink = Linker::revUserLink( $this->revision );
                $comment = Linker::revComment( $this->revision );
                if ( $this->isDeleted() ) {
                        $revlink = "<span class=\"history-deleted\">$revlink</span>";
                }
-               return "<li>($difflink) $revlink $userlink $comment</li>";
+               return "<li>$difflink $revlink $userlink $comment</li>";
        }
 }