- Move data-toc-scope from outer column to .article-content div so
the TOC only sees headings inside the article body, ignoring page
headers and article titles.
- Pass $scope explicitly in the JS auto-init so headings outside the
article content are never picked up.
- Replace hardcoded article title in TOC heading with a
TPL_MOKOCASSIOPEIA_TOC_TITLE language string ("Table of Contents").
- Add Text use statement to both toc-left.php and toc-right.php.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Development mode now activates automatically when Joomla global
debug is enabled, so admins don't need to toggle both settings.
- Bootstrap TOC now detects the highest heading level present (even
if only one exists) and includes up to two levels below it
(e.g. h2 → h2, h3, h4). Fixes incorrect top-level detection and
adds proper three-level nesting support.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>