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

Change subject: MWImage: Rename variable
......................................................................

MWImage: Rename variable

Change-Id: Iaf7c1ba6d1bf3a9804776fa958a497ac9b712e7f
---
M lib/translationunits/MWImage.js
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver 
refs/changes/58/370458/1

diff --git a/lib/translationunits/MWImage.js b/lib/translationunits/MWImage.js
index 29b06a8..da3ce35 100644
--- a/lib/translationunits/MWImage.js
+++ b/lib/translationunits/MWImage.js
@@ -2,7 +2,7 @@
        TranslationUnit = require( './TranslationUnit.js' ),
        languageData = require( 'language-data' ),
        MWApiRequestManager = require( '../mw/ApiRequestManager.js' ),
-       CommonsFilePatchPrefix = '//upload.wikimedia.org/wikipedia/commons/';
+       CommonsFilePathPrefix = '//upload.wikimedia.org/wikipedia/commons/';
 
 class MWImage extends TranslationUnit {
        constructor( node, sourceLanguage, targetLanguage, context ) {
@@ -16,7 +16,7 @@
         * @return {boolean}
         */
        isCommonsImage( imageSrc ) {
-               return imageSrc.indexOf( CommonsFilePatchPrefix ) === 0;
+               return imageSrc.indexOf( CommonsFilePathPrefix ) === 0;
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf7c1ba6d1bf3a9804776fa958a497ac9b712e7f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com>

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

Reply via email to