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

Change subject: Categories: Increase API limit on categories retrieved and 
adapted
......................................................................


Categories: Increase API limit on categories retrieved and adapted

* Explicitly sets the API result limit for category retrieval
  and adaptation to 100 in order to handle more categories

  (the default if no limit is specified is 10)

Bug: 66666
Change-Id: I86b5797f813df7fd6cc6688223cb98b7efd851b9
---
M modules/tools/ext.cx.tools.categories.js
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/modules/tools/ext.cx.tools.categories.js 
b/modules/tools/ext.cx.tools.categories.js
index 649940d..226a5cf 100644
--- a/modules/tools/ext.cx.tools.categories.js
+++ b/modules/tools/ext.cx.tools.categories.js
@@ -382,6 +382,7 @@
                        action: 'query',
                        prop: 'categories',
                        clshow: '!hidden',
+                       cllimit: 100,
                        indexpageids: true,
                        titles: title,
                        format: 'json'
@@ -447,6 +448,7 @@
                        titles: categoryTitles.join( '|' ),
                        prop: 'langlinks',
                        lllang: language,
+                       lllimit: 100,
                        redirects: true,
                        format: 'json'
                }, {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I86b5797f813df7fd6cc6688223cb98b7efd851b9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Jsahleen <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to