Merge "Clean up spacing of doc comments"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 5 Aug 2019 22:51:10 +0000 (22:51 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 5 Aug 2019 22:51:10 +0000 (22:51 +0000)
1  2 
includes/OutputPage.php
includes/changes/ChangesList.php

diff --combined includes/OutputPage.php
@@@ -54,7 -54,8 +54,8 @@@ class OutputPage extends ContextSource 
        protected $mCanonicalUrl = false;
  
        /**
-        * @var string The contents of <h1> */
+        * @var string The contents of <h1>
+        */
        private $mPageTitle = '';
  
        /**
  
                // This library is intended to run on older browsers that MediaWiki no longer
                // supports as Grade A. For these Grade C browsers, we provide an experience
 -              // using only HTML and CSS. Where standards-compliant browsers are able to style
 -              // unknown HTML elements without issue, old IE ignores these styles.
 +              // using only HTML and CSS. But, where standards-compliant browsers are able to
 +              // style unknown HTML elements without issue, old IE ignores these styles.
                // The html5shiv library fixes that.
                // Use an IE conditional comment to serve the script only to old IE
                $shivUrl = $config->get( 'ResourceBasePath' ) . '/resources/lib/html5shiv/html5shiv.js';
@@@ -451,9 -451,9 +451,9 @@@ class ChangesList extends ContextSourc
        public function insertLog( &$s, $title, $logtype ) {
                $page = new LogPage( $logtype );
                $logname = $page->getName()->setContext( $this->getContext() )->text();
 -              $s .= $this->msg( 'parentheses' )->rawParams(
 -                      $this->linkRenderer->makeKnownLink( $title, $logname )
 -              )->escaped();
 +              $s .= Html::rawElement( 'span', [
 +                      'class' => 'mw-changeslist-links'
 +              ], $this->linkRenderer->makeKnownLink( $title, $logname ) );
        }
  
        /**
                $formatter->setShowUserToolLinks( true );
                $mark = $this->getLanguage()->getDirMark();
  
 -              return $formatter->getActionText() . " $mark" . $formatter->getComment();
 +              return Html::openElement( 'span', [ 'class' => 'mw-changeslist-log-entry' ] )
 +                      . $formatter->getActionText() . " $mark" . $formatter->getComment()
 +                      . Html::closeElement( 'span' );
        }
  
        /**
                ) {
                        $title = $rc->getTitle();
                        /** Check for rollback permissions, disallow special pages, and only
-                        * show a link on the top-most revision */
+                        * show a link on the top-most revision
+                        */
                        if ( $title->quickUserCan( 'rollback', $this->getUser() ) ) {
                                $rev = new Revision( [
                                        'title' => $title,