Nikerabbit has uploaded a new change for review.

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


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/50/61550/1

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: newchange
Gerrit-Change-Id: I2b67cc915db0dbe1a8fe08a4d62bb36608df954e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
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