Legoktm has uploaded a new change for review.

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

Change subject: Don't use deprecated Cdb classes
......................................................................

Don't use deprecated Cdb classes

Change-Id: I52ba659387b1d315a2c8da6dddfeea4608df94d7
---
M Babel.php
M BabelLanguageCodes.class.php
M txt2cdb.php
3 files changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Babel 
refs/changes/84/177284/1

diff --git a/Babel.php b/Babel.php
index c2af303..ef002ec 100644
--- a/Babel.php
+++ b/Babel.php
@@ -22,7 +22,7 @@
 $GLOBALS['wgExtensionCredits']['parserhook'][] = array(
        'path' => __FILE__,
        'name' => 'Babel',
-       'version' => '1.9.0',
+       'version' => '1.9.1',
        'author' => 'Robert Leverington',
        'url' => 'https://www.mediawiki.org/wiki/Extension:Babel',
        'descriptionmsg' => 'babel-desc',
diff --git a/BabelLanguageCodes.class.php b/BabelLanguageCodes.class.php
index 59ba675..bd24473 100644
--- a/BabelLanguageCodes.class.php
+++ b/BabelLanguageCodes.class.php
@@ -7,6 +7,9 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
2.0 or later
  */
 
+use Cdb\Exception as CdbException;
+use Cdb\Reader as CdbReader;
+
 /**
  * Handle language code and name processing for the Babel extension, it can 
also
  * be used by other extension which need such functionality.
diff --git a/txt2cdb.php b/txt2cdb.php
index 8eda7ab..7a70da1 100644
--- a/txt2cdb.php
+++ b/txt2cdb.php
@@ -11,6 +11,9 @@
        include "$dir/../../CorePath.php"; // Allow override
 }
 
+use Cdb\Exception as CdbException;
+use Cdb\Writer as CdbWriter;
+
 require_once "$IP/maintenance/commandLine.inc";
 
 $names = "$dir/names.cdb";

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52ba659387b1d315a2c8da6dddfeea4608df94d7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Babel
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to