[MediaWiki-commits] [Gerrit] mediawiki...Cargo[master]: Fix for b52cd902be38 - added some missing changes

2017-01-03 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/330358 )

Change subject: Fix for b52cd902be38 - added some missing changes
..


Fix for b52cd902be38 - added some missing changes

Change-Id: I9e4ba1f9b4e466dccd5de7be60812975b76ff843
---
M Cargo.php
M extension.json
M i18n/en.json
M i18n/qqq.json
4 files changed, 19 insertions(+), 1 deletion(-)

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



diff --git a/Cargo.php b/Cargo.php
index 50f1943..409bfe4 100644
--- a/Cargo.php
+++ b/Cargo.php
@@ -73,6 +73,7 @@
 $wgAPIModules['cargoquery'] = 'CargoQueryAPI';
 $wgAPIModules['cargorecreatetables'] = 'CargoRecreateTablesAPI';
 $wgAPIModules['cargorecreatedata'] = 'CargoRecreateDataAPI';
+$wgAPIModules['cargoautocomplete'] = 'CargoAutocompleteAPI';
 
 // Register classes and special pages.
 $wgAutoloadClasses['CargoHooks'] = $dir . '/Cargo.hooks.php';
@@ -108,6 +109,7 @@
 $wgAutoloadClasses['CargoQueryAPI'] = $dir . '/api/CargoQueryAPI.php';
 $wgAutoloadClasses['CargoRecreateTablesAPI'] = $dir . 
'/api/CargoRecreateTablesAPI.php';
 $wgAutoloadClasses['CargoRecreateDataAPI'] = $dir . 
'/api/CargoRecreateDataAPI.php';
+$wgAutoloadClasses['CargoAutocompleteAPI'] = $dir . 
'/api/CargoAutocompleteAPI.php';
 $wgAutoloadClasses['CargoLuaLibrary'] = $dir . '/CargoLua.library.php';
 
 // Display formats
diff --git a/extension.json b/extension.json
index 58994da..3d56e0a 100755
--- a/extension.json
+++ b/extension.json
@@ -28,7 +28,8 @@
"APIModules": {
"cargoquery": "CargoQueryAPI",
"cargorecreatetables": "CargoRecreateTablesAPI",
-   "cargorecreatedata": "CargoRecreateDataAPI"
+   "cargorecreatedata": "CargoRecreateDataAPI",
+   "cargoautocomplete": "CargoAutocompleteAPI"
},
"MessagesDirs": {
"Cargo": [
@@ -68,6 +69,7 @@
"CargoQueryAPI": "api/CargoQueryAPI.php",
"CargoRecreateTablesAPI": "api/CargoRecreateTablesAPI.php",
"CargoRecreateDataAPI": "api/CargoRecreateDataAPI.php",
+   "CargoAutocompleteAPI": "api/CargoAutocompleteAPI.php",
"CargoLuaLibrary": "CargoLua.library.php",
"CargoDisplayFormat": "formats/CargoDisplayFormat.php",
"CargoDeferredFormat": "formats/CargoDeferredFormat.php",
diff --git a/i18n/en.json b/i18n/en.json
index 04269b6..58977a9 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -26,6 +26,13 @@
"apihelp-cargorecreatedata-param-table": "The Cargo database table to 
repopulate",
"apihelp-cargorecreatedata-param-offset": "Of the pages that call this 
template, the number at which to start querying",
"apihelp-cargorecreatedata-param-replaceOldRows": "Whether to replace 
old rows for each page while repopulating the table",
+   "apihelp-cargoautocomplete-description": "Autocompletion call used by 
the Cargo extension.",
+   "apihelp-cargoautocomplete-param-limit": "A limit on the number of 
results returned",
+   "apihelp-cargoautocomplete-param-substr": "Search substring",
+   "apihelp-cargoautocomplete-param-table": "Cargo table for which to 
search values",
+   "apihelp-cargoautocomplete-param-field": "Cargo field for which to 
search values",
+   "apihelp-cargoautocomplete-param-field_is_array": "Whether the field 
holds a list of values",
+   "apihelp-cargoautocomplete-param-where": "The \"where\" clause for the 
query, based on the other filters specified",
"cargo-createdatatable": "Create data table",
"cargo-recreatedata-desc": "Recreate Cargo data for this template?",
"cargo-recreatedata-createdata": "Create Cargo data for this template?",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index b0704c2..b7b9cee 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -32,6 +32,13 @@
"apihelp-cargorecreatedata-param-table": 
"{{doc-apihelp-param|cargorecreatedata|table}}",
"apihelp-cargorecreatedata-param-offset": 
"{{doc-apihelp-param|cargorecreatedata|offset}}",
"apihelp-cargorecreatedata-param-replaceOldRows": 
"{{doc-apihelp-param|cargorecreatedata|replaceOldRows}}",
+   "apihelp-cargoautocomplete-description": 
"{{doc-apihelp-description|cargoautocomplete}}",
+   "apihelp-cargoautocomplete-param-limit": 
"{{doc-apihelp-param|cargoautocomplete|limit}}",
+   "apihelp-cargoautocomplete-param-substr": 
"{{doc-apihelp-param|cargoautocomplete|substr}}",
+   "apihelp-cargoautocomplete-param-table": 
"{{doc-apihelp-param|cargoautocomplete|table}}",
+   "apihelp-cargoautocomplete-param-field": 
"{{doc-apihelp-param|cargoautocomplete|field}}",
+   "apihelp-cargoautocomplete-param-field_is_array": 
"{{doc-apihelp-param|cargoautocomplete|field_is_array}}",
+   "apihelp-cargoautocomplete-param-where": 

[MediaWiki-commits] [Gerrit] mediawiki...Cargo[master]: Fix for b52cd902be38 - added some missing changes

2017-01-03 Thread Yaron Koren (Code Review)
Yaron Koren has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/330358 )

Change subject: Fix for b52cd902be38 - added some missing changes
..

Fix for b52cd902be38 - added some missing changes

Change-Id: I9e4ba1f9b4e466dccd5de7be60812975b76ff843
---
M Cargo.php
M extension.json
2 files changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo 
refs/changes/58/330358/2

diff --git a/Cargo.php b/Cargo.php
index 50f1943..409bfe4 100644
--- a/Cargo.php
+++ b/Cargo.php
@@ -73,6 +73,7 @@
 $wgAPIModules['cargoquery'] = 'CargoQueryAPI';
 $wgAPIModules['cargorecreatetables'] = 'CargoRecreateTablesAPI';
 $wgAPIModules['cargorecreatedata'] = 'CargoRecreateDataAPI';
+$wgAPIModules['cargoautocomplete'] = 'CargoAutocompleteAPI';
 
 // Register classes and special pages.
 $wgAutoloadClasses['CargoHooks'] = $dir . '/Cargo.hooks.php';
@@ -108,6 +109,7 @@
 $wgAutoloadClasses['CargoQueryAPI'] = $dir . '/api/CargoQueryAPI.php';
 $wgAutoloadClasses['CargoRecreateTablesAPI'] = $dir . 
'/api/CargoRecreateTablesAPI.php';
 $wgAutoloadClasses['CargoRecreateDataAPI'] = $dir . 
'/api/CargoRecreateDataAPI.php';
+$wgAutoloadClasses['CargoAutocompleteAPI'] = $dir . 
'/api/CargoAutocompleteAPI.php';
 $wgAutoloadClasses['CargoLuaLibrary'] = $dir . '/CargoLua.library.php';
 
 // Display formats
diff --git a/extension.json b/extension.json
index 58994da..3d56e0a 100755
--- a/extension.json
+++ b/extension.json
@@ -28,7 +28,8 @@
"APIModules": {
"cargoquery": "CargoQueryAPI",
"cargorecreatetables": "CargoRecreateTablesAPI",
-   "cargorecreatedata": "CargoRecreateDataAPI"
+   "cargorecreatedata": "CargoRecreateDataAPI",
+   "cargoautocomplete": "CargoAutocompleteAPI"
},
"MessagesDirs": {
"Cargo": [
@@ -68,6 +69,7 @@
"CargoQueryAPI": "api/CargoQueryAPI.php",
"CargoRecreateTablesAPI": "api/CargoRecreateTablesAPI.php",
"CargoRecreateDataAPI": "api/CargoRecreateDataAPI.php",
+   "CargoAutocompleteAPI": "api/CargoAutocompleteAPI.php",
"CargoLuaLibrary": "CargoLua.library.php",
"CargoDisplayFormat": "formats/CargoDisplayFormat.php",
"CargoDeferredFormat": "formats/CargoDeferredFormat.php",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e4ba1f9b4e466dccd5de7be60812975b76ff843
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren 
Gerrit-Reviewer: jenkins-bot <>

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