From ec4b3fa5b4a7358a31dbc9352dfdf355fd99db66 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 17 Apr 2021 03:42:35 +0000 Subject: [PATCH] ci: lint code to MediaWiki standards Check commit and GitHub actions for more details --- includes/Partials/Tagline.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Partials/Tagline.php b/includes/Partials/Tagline.php index fef54bd7..7e991a30 100644 --- a/includes/Partials/Tagline.php +++ b/includes/Partials/Tagline.php @@ -65,7 +65,7 @@ final class Tagline extends Partial { } elseif ( $title->isTalkPage() ) { // Use generic talk page message if talk page $tagline = $this->skin->msg( 'citizen-tagline-ns-talk' )->text(); - + } elseif ( $title->inNamespace( NS_USER ) && !$title->isSubpage() ) { // Build user tagline if it is a top-level user page $tagline = $this->buildUserTagline( $title ); @@ -85,7 +85,7 @@ final class Tagline extends Partial { /** * Return user tagline message - * + * * @param Title $title * @return string */ @@ -93,7 +93,7 @@ final class Tagline extends Partial { $user = $this->buildPageUserObject( $title ); if ( $user ) { $editCount = $user->getEditCount(); - //TODO: Figure out a waw to get registration duration, + // TODO: Figure out a waw to get registration duration, // like Langauge::getHumanTimestamp() //$registration = $user->getRegistration(); $msgEditCount = $this->skin->msg( 'usereditcount' )