There are a number of templates in moodle that can not be viewed in Site administration ► Development ► Template library
instead the template source code is displayed. The other problem is that developers copy the incorrect syntax
core_admin/setting_configpasswordunmask (example broken)
core_admin/settings_search_results (example broken)
mod_forum/* (most of them, mod_forum/forum_post_emaildigestbasic_htmlemail even throws AJAX exception)
theme_boost/ - all these templates throw exception, we need to fix this in the template library API*
tool_templatelibrary/list_templates_page (hehe, recursion )
These templates were introduced in
MDL-55831, MDL-50439, MDL-54987, MDL-55796, MDL-55701, MDL-55517, MDL-55564, MDL-55594, MDL-55564, MDL-55796, MDL-55584, MDL-55797, MDL-55584, MDL-55594, MDL-55797 - Frédéric Massart
MDL-51603, MDL-52990 - Brendan Heywood
MDL-55727, MDL-55727, MDL-52154 - Ryan Wyllie
MDL-55402, MDL-55417, MDL-52954, MDL-51043, MDL-55996, MDL-49459 - Damyon Wiese
MDL-31989 - David Monllaó
MDL-52137 - Andrew Nicols
I created this issue as an Epic, feel free to add issues to it to fix individual templates.
Rajesh Taneja, do you think it is reasonable to add a QA test that would ensure that all templates in the templates library have example context?