Tag API 3 Specification
Tag API 3
See also MDL-50851
Summary
This is designed to make the Tag API in Moodle more flexible. The main changes: - allow to use different tag collections for different tag areas (for example, user interests would be a completely different set of keywords than blog posts) - allow to enable/disable tagging in individual areas, not just one-for-all global $CFG->usetags setting - introduce callbacks in the components that will be responsible for displaying entries related to the tag
Other possible future changes: - split block_tags into block_tags and block_coursetags - it serves two completely different purposes now - block_tags should be able to display tag cloud from one tag collection only and also only tags used in specific context (course/module/etc) - improve "Manage tags" interface - it definitely needs some upgrade to 21st century - introduce templates for tag cloud and tag list
Implementation
Most of the functionality already exists in current Tag API but it's quite not intuitive.
... to be continued ...