jenkins-bot has submitted this change and it was merged.

Change subject: Restore compatibility with MW 1.20
......................................................................


Restore compatibility with MW 1.20

Change-Id: I2b67cc915db0dbe1a8fe08a4d62bb36608df954e
---
M api/ApiTranslateSandbox.php
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Amire80: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/api/ApiTranslateSandbox.php b/api/ApiTranslateSandbox.php
index 7011e97..a9c0c54 100644
--- a/api/ApiTranslateSandbox.php
+++ b/api/ApiTranslateSandbox.php
@@ -188,4 +188,8 @@
                return true;
        }
 
+       // BC for MW 1.20
+       public function getVersion() {
+               return __CLASS__ . ': ' . TRANSLATE_VERSION;
+       }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2b67cc915db0dbe1a8fe08a4d62bb36608df954e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to