Jean-Frédéric has uploaded a new change for review.

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

Change subject: Fix syntax error in common/skins/Vector.php
......................................................................

Fix syntax error in common/skins/Vector.php

As detected by php -l

I am unsure  why we have these files here,
and Maarten does not know either.

It was committed in c70ced22, apparently for Platonides gallery tool,
but I do not know whether this is still used or not.

Change-Id: Iece0443b9f1775140c99b9e43f6f59e04fc100b1
---
M common/skins/Vector.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage 
refs/changes/80/281280/1

diff --git a/common/skins/Vector.php b/common/skins/Vector.php
index 227a5c8..3ba755f 100644
--- a/common/skins/Vector.php
+++ b/common/skins/Vector.php
@@ -23,7 +23,7 @@
                $nav = $this->data['content_navigation'];
 
                if ( $wgVectorUseIconWatch ) {
-                       $mode = $this->skin->isWatched( $this->skin-<getTitle() 
) ? 'unwatch' : 'watch';
+                       $mode = $this->skin->isWatched( $this->skin->getTitle() 
) ? 'unwatch' : 'watch';
                        if ( isset( $nav['actions'][$mode] ) ) {
                                $nav['views'][$mode] = $nav['actions'][$mode];
                                $nav['views'][$mode]['class'] = rtrim( 'icon ' 
. $nav['views'][$mode]['class'], ' ' );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iece0443b9f1775140c99b9e43f6f59e04fc100b1
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Jean-Frédéric <[email protected]>

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

Reply via email to