jenkins-bot has submitted this change and it was merged. Change subject: Keep jenkins happy by limiting line length. ......................................................................
Keep jenkins happy by limiting line length. Just w/s changes to break up long lines. Change-Id: I69bf30f6c05813cfa32c8cd194f121cedcc4cb8a --- M includes/specials/SpecialStatistics.php 1 file changed, 12 insertions(+), 6 deletions(-) Approvals: Umherirrender: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index 0acbf95..3e3a2ab 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -108,7 +108,8 @@ if ( $descMsg ) { $msg = $this->msg( $descMsg, $descMsgParam ); if ( $msg->exists() ) { - $descriptionText = $this->msg( 'parentheses' )->rawParams( $msg->parse() )->escaped(); + $descriptionText = $this->msg( 'parentheses' )->rawParams( $msg->parse() ) + ->escaped(); $text .= "<br />" . Xml::element( 'small', array( 'class' => 'mw-statistic-desc' ), " $descriptionText" ); } @@ -127,7 +128,8 @@ */ private function getPageStats() { $pageStatsHtml = Xml::openElement( 'tr' ) . - Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-header-pages' )->parse() ) . + Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-header-pages' ) + ->parse() ) . Xml::closeElement( 'tr' ) . $this->formatRow( Linker::linkKnown( SpecialPage::getTitleFor( 'Allpages' ), $this->msg( 'statistics-articles' )->parse() ), @@ -140,7 +142,8 @@ // Show the image row only, when there are files or upload is possible if ( $this->images !== 0 || $this->getConfig()->get( 'EnableUploads' ) ) { - $pageStatsHtml .= $this->formatRow( Linker::linkKnown( SpecialPage::getTitleFor( 'MediaStatistics' ), + $pageStatsHtml .= $this->formatRow( + Linker::linkKnown( SpecialPage::getTitleFor( 'MediaStatistics' ), $this->msg( 'statistics-files' )->parse() ), $this->getLanguage()->formatNum( $this->images ), array( 'class' => 'mw-statistics-files' ) ); @@ -151,7 +154,8 @@ private function getEditStats() { return Xml::openElement( 'tr' ) . - Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-header-edits' )->parse() ) . + Xml::tags( 'th', array( 'colspan' => '2' ), + $this->msg( 'statistics-header-edits' )->parse() ) . Xml::closeElement( 'tr' ) . $this->formatRow( $this->msg( 'statistics-edits' )->parse(), $this->getLanguage()->formatNum( $this->edits ), @@ -166,7 +170,8 @@ private function getUserStats() { return Xml::openElement( 'tr' ) . - Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-header-users' )->parse() ) . + Xml::tags( 'th', array( 'colspan' => '2' ), + $this->msg( 'statistics-header-users' )->parse() ) . Xml::closeElement( 'tr' ) . $this->formatRow( $this->msg( 'statistics-users' )->parse(), $this->getLanguage()->formatNum( $this->users ), @@ -229,7 +234,8 @@ } $text .= $this->formatRow( $grouppage . ' ' . $grouplink, $this->getLanguage()->formatNum( $countUsers ), - array( 'class' => 'statistics-group-' . Sanitizer::escapeClass( $group ) . $classZero ) ); + array( 'class' => 'statistics-group-' . Sanitizer::escapeClass( $group ) . + $classZero ) ); } return $text; -- To view, visit https://gerrit.wikimedia.org/r/212023 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I69bf30f6c05813cfa32c8cd194f121cedcc4cb8a Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: MarkAHershberger <m...@nichework.com> Gerrit-Reviewer: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits