Moodle plugins directory: Quick rename of question categories | Moodle.org
Quick rename of question categories
General plugins (Local) ::: local_quickrenamequestioncategories
Maintained by Vadim Dvorovenko
Part of set Question bank improvements.
This plugin allows rename all questions categories in one form
Latest release:
79 sites
4 downloads
10 fans
Current versions available: 1
Question bank navigation node will be extended with "Quick categories rename" item. You will be able to rename all categories in one form.
This can be useful when working with large question banks together witn local_resortquestioncategory and local_renumberquestioncategory plugins.
Useful links
Contributors
Vadim Dvorovenko (Lead maintainer)
Please login to view contributors details and/or to contact them
http://integration.moodle.org/job/Precheck%20remote%20branch/23139/artifact/work/smurf.html
I did not find any problems with your plugin, it works as expected and code is ok, thank you. Think David will be in touch shortly about next steps
I noticed using of an $_POST variable, but this seems explainable in this context, as optional_param* functions are apparently unable to handle an array of arrays. PARAM_RAW for submit buttons were also strange only at the first glance, but later on they're also turned out completely ok
Thanks Vadim for sharing another plugin with the community, and thanks Ivan for the peer-review. I am happy to approve this now. You are cleared to land, welcome to the Plugins directory.
In Moodle 4.0, the question bank has changed quite a lot (see https://docs.moodle.org/dev/Question_bank_improvements_for_Moodle_4.0).
In particular, there is a new type of plugin: qbank_.... This should be documented at https://docs.moodle.org/dev/Question_bank_plugins, but I am afraid that this is not complete yet. (However, there is information in the upgrade.txt files in the code, and the PHPdocs in the code should explain things.)
So, I think it is a case of
Bad news: you will have to re-write all your local plugins as qbank plugins to work with Moodle 4.0+.
Good news: if you do, then they will probably work even better for users and you can probably reuse almost all of your code.
There are a lot of references in question/bank directory in Moodle 4.0 repository. Please do not hesitate to get in touch if you have any questions.
Cheers!