Closed mudrd8mz closed 8 years ago
Hi @mudrd8mz, thanks for taking time to review the plugin.
You're right, even if the plugin does not technically need the filter, its use would not make sense without it. But taking into account that @iarenaza's filter is not published on the plugins directory, can I specify the dependency?
I discussed this case with other Moodle core developers and we all agree that the explicit dependency should be added. Good to see you agree with that too.
Yes, a dependency can be declared even on plugin not available in the plugins directory. Admins will have to provide the missing code manually as Moodle itself integrates with the plugins directory only. Alternatively @iarenaza may want to submit his filter into the plugins directory, too.
Hi David,
I've made the release on plugins directory with the dependency to filter_multilang2.
I'm very glad you contributed to this plugin. :)
I've just opened and issue in the tracker to add the filter_multilang2 plugin to the plugins database.
If it gets approved, this should make it easier for other to install both plugins at the same time.
Thanks @iarenaza. Please note that https://docs.moodle.org/dev/Plugin_contribution#How_to_submit_code seems to be a bit outdated. You as the maintainer are basically supposed to submit your plugin into the plugins directory at https://moodle.org/plugins/registerplugin.php Sorry for the confusion.
@mudrd8mz Thanks for the heads up!
I've just updated the links, thanks a lot for your contributions!
It seems that technically, this Atto plugin does not need the filter. Yet I am wondering if it would be cleaner for admins if the dependency on the filter was explicitly declared in version.php
See
$plugin->dependencies
at https://docs.moodle.org/dev/version.php