There was a double space between log action text and user comment. Remove the space...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 14 Sep 2011 08:30:11 +0000 (08:30 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 14 Sep 2011 08:30:11 +0000 (08:30 +0000)
includes/logging/LogFormatter.php

index d066047..4a73ec6 100644 (file)
@@ -251,8 +251,9 @@ class LogFormatter {
         * @return string HTML
         */
        public function getComment() {
-               $lang = $this->context->getLang();
-               $element = $lang->getDirMark() . Linker::commentBlock( $this->entry->getComment() );
+               $comment = Linker::commentBlock( $this->entry->getComment() );
+               // No hard coded spaces thanx
+               $element = ltrim( $comment );
 
                if ( $this->entry->isDeleted( LogPage::DELETED_COMMENT ) ) {
                        $element = self::getRestrictedElement( 'rev-deleted-comment' );