Hi, thanks for great extension. In my case i have hierarchical trees of categories, some categories contains more than 10 subcategories, but when editing page i can't see more than 10. What can i do with that issue? Thanks in advance!
Topic on Extension talk:MsCatSelect
Hello, i guess i found the solution.
Edit the js/mscatselect.js and add this at the line 237 just after ( cmtitle: 'Category:' + maincat,)
cmlimit: '200',
200 is what i use, but the maximum is 500
Here please find the docu of API http://metin2wiki.eu/api.php
Thanks!
This was hard-coded to 500 a while ago but strangely it still does not show 500 but about 300 categories. Anyways I just entered '100000' and now all our 3000 categories are shown. Perfect!!!
Maybe a suggestion for the next version: Default to 500 but there should be a variable in LocalSettings.pgp so we can override this easily without editing the mscatselect.js file.
Great, thank you for implementing this.
LocalSettings.php: $wgGroupPermissions['*']['apihighlimits'] = true;
hi, what's the purpose of wgGroupPermissions in this context ?
thx
When MsCatSelect gets the list of categories, it's actually the user who is requesting the list via a background AJAX call to the API. So the max number of categories returned will depend on the limits set to the API for user requests. Thus, the purpose of setting $wgGroupPermissions['*']['apihighlimits'] = true;
is to allow users to request as many categories as possible through the API.