Jack Phoenix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/81002


Change subject: Fixed syntax terror.
......................................................................

Fixed syntax terror.

Change-Id: Ib16de75b385485671cc2c22e8a968917157875a5
---
M UserGifts/SpecialViewGifts.php
M UserStats/GenerateTopUsersReport.php
2 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SocialProfile 
refs/changes/02/81002/1

diff --git a/UserGifts/SpecialViewGifts.php b/UserGifts/SpecialViewGifts.php
index 1f2309d..5e73fce 100644
--- a/UserGifts/SpecialViewGifts.php
+++ b/UserGifts/SpecialViewGifts.php
@@ -169,7 +169,7 @@
                        $output .= '<div class="page-nav">';
                        if ( $page > 1 ) {
                                $output .= Linker::link(
-                                       $pageLink
+                                       $pageLink,
                                        $this->msg( 'g-previous' )->plain(),
                                        array(),
                                        array(
@@ -194,7 +194,7 @@
                                        $output .= ( $i . ' ' );
                                } else {
                                        $output .= Linker::link(
-                                               $pageLink
+                                               $pageLink,
                                                $i,
                                                array(),
                                                array(
@@ -208,7 +208,7 @@
                        if ( ( $total - ( $per_page * $page ) ) > 0 ) {
                                $output .= $this->msg( 'word-separator' 
)->plain() .
                                        Linker::link(
-                                               $pageLink
+                                               $pageLink,
                                                $this->msg( 'g-next' )->plain(),
                                                array(),
                                                array(
diff --git a/UserStats/GenerateTopUsersReport.php 
b/UserStats/GenerateTopUsersReport.php
index 00e5a0a..07d7237 100644
--- a/UserStats/GenerateTopUsersReport.php
+++ b/UserStats/GenerateTopUsersReport.php
@@ -194,7 +194,7 @@
 
                // For grep: user-stats-weekly-winners, 
user-stats-monthly-winners
                $pageContent .= '==' . $this->msg(
-                       "user-stats-{$period}-winners",
+                       "user-stats-{$period}-winners"
                )->numParams( $winner_count )->inContentLanguage()->parse() . 
"==\n\n";
 
                // For grep: user-stats-weekly-win-congratulations, 
user-stats-monthly-win-congratulations

-- 
To view, visit https://gerrit.wikimedia.org/r/81002
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib16de75b385485671cc2c22e8a968917157875a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SocialProfile
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to