Board Thread:Technical Updates/@comment-24006128-20201016144211/@comment-9605025-20201023174803

I was just playing around with TemplateData and noticed a few things. Also, maybe there should be a dedicated "documentation" template category for documentation pages since you have to choose a template category anyways. - Edit:
 * 1) The "manage templatedata" module launcher remains visible after closing the editor. You have to refresh the page to make it go away. Fortunately, clicking the button doesn't work so at least you can't accidentally access the module when you aren't editing.
 * 2) When inserting on a template page that already has noinclude tags, the insert is 1 character off. It will find the first character of the closing noinclude tag and then insert the template data tags in front of the character in front of that. So unless you have a space between the closing tag and the contents, your contents will get split. This happens regardless of the content. If there is no content, the template data is inserted into the opening noinclude tag.
 * 3) When inserting on a template page that is a subpage but not documentation, it treats it like documentation. In other words, it does not insert noinclude tags with the template data or, if the subpage has noinclude tags, it does not insert the template data within the noinclude tags.
 * 4) The module launcher gives a warning about template data being defined on the other page (template page for documentation, documentation page for template page) but perhaps it would be a better idea to actually prevent users from adding it in these cases rather than just warning them.

Also, the module indents using tabs which users cannot directly type into the source. So someone who is editing the data via source rather than the module is either going to have to try to match spaces to the tabs (and thus mix tabs and spaces) or they are going to have to copy-paste the tab character just to maintain a consistent format.