Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371260 )

Change subject: build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
......................................................................

build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I2d52d9cad63bfa4cb16b7b5982b7ef697d7628bf
---
M composer.json
M ui/CodeRevisionAuthorView.php
M ui/CodeRevisionView.php
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CodeReview 
refs/changes/60/371260/1

diff --git a/composer.json b/composer.json
index bf202bf..770de83 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
        "require-dev": {
                "jakub-onderka/php-parallel-lint": "0.9.2",
                "jakub-onderka/php-console-highlighter": "0.3.2",
-               "mediawiki/mediawiki-codesniffer": "0.10.1"
+               "mediawiki/mediawiki-codesniffer": "0.11.0"
        },
        "scripts": {
                "fix": "phpcbf",
diff --git a/ui/CodeRevisionAuthorView.php b/ui/CodeRevisionAuthorView.php
index c0ac296..d06e28e 100644
--- a/ui/CodeRevisionAuthorView.php
+++ b/ui/CodeRevisionAuthorView.php
@@ -39,7 +39,7 @@
                        $repo = $this->mRepo->getName();
                        $page = SpecialPage::getTitleFor( 'Code', 
"$repo/author/$this->mAuthor/link" );
                        $linkInfo .= ' (' . $linkRenderer->makeLink( $page,
-                               wfMessage( 'code-author-' . ( $this->mUser ? 
'un': '' ) . 'link' )->text() ) . ')';
+                               wfMessage( 'code-author-' . ( $this->mUser ? 
'un' : '' ) . 'link' )->text() ) . ')';
                }
 
                $repoLink = $linkRenderer->makeLink(
diff --git a/ui/CodeRevisionView.php b/ui/CodeRevisionView.php
index f9d245c..4fdf5e4 100644
--- a/ui/CodeRevisionView.php
+++ b/ui/CodeRevisionView.php
@@ -343,7 +343,7 @@
                        if ( $action === 'd' ) {
                                if ( $rev > 1 ) {
                                        $link = Linker::makeExternalLink( // 
last rev
-                                               
"{$viewvc}{$safePath}?view=markup&pathrev=" . ( $rev -1 ),
+                                               
"{$viewvc}{$safePath}?view=markup&pathrev=" . ( $rev - 1 ),
                                                $path . $from );
                                } else {
                                        $link = $safePath; // imported to SVN 
or something

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d52d9cad63bfa4cb16b7b5982b7ef697d7628bf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CodeReview
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to