| 9fd890c3 | 15-Jun-2026 |
tracker-user <82045103+tracker-user@users.noreply.github.com> |
Add admin overview of annotated pages with clear-orphaned actions
Adds admin.php (Admin -> Annotations): a wiki-wide table of annotated pages with Normal/Orphaned counts, per-column filter, sortable
Add admin overview of annotated pages with clear-orphaned actions
Adds admin.php (Admin -> Annotations): a wiki-wide table of annotated pages with Normal/Orphaned counts, per-column filter, sortable headers, numbered pager (entries_per_page config), and per-page and wiki-wide clear-orphaned POST actions guarded by checkSecurityToken and auth_isadmin.
Refactors the orphan rule into helper::quoteMissing() shared by findOrphaned() and the new pageCounts(); adds getAnnotatedPages() / searchAnnotations() / clearOrphanedAll() to the helper. Extends HelperTest with four new coverage cases. All four locales (en, de, ru, ja) carry the new admin strings.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
show more ...
|
| 86c7806d | 03-Jun-2026 |
tracker-user <82045103+tracker-user@users.noreply.github.com> |
Add config, selection guards, annotation overlap detection, and glow button
- Config: color_open / color_resolved (hex, drives CSS vars); embed_max_bytes, context_length, body_cap move from consta
Add config, selection guards, annotation overlap detection, and glow button
- Config: color_open / color_resolved (hex, drives CSS vars); embed_max_bytes, context_length, body_cap move from constants to conf/default + metadata. action.php injects --ann-open-rgb / --ann-resolved-rgb as CSS custom props; style.css escapes every rgba(var(…)) with LESS ~"…" so lesserphp doesn't bake them to #000000 at compile time. - Selection guards: Annotate button suppressed inside .ann-* UI, #dw__toc, .docInfo, .secedit; the old endpoint-only isInsideHighlight is replaced by selectionHitsHighlight (range.intersectsNode over all highlight spans) so a selection overrunning an existing annotation on either side opens it instead of offering a new overlapping one. - Glow: static amber box-shadow on .ann-tooltip .ann-btn (no animation). - Removed email line from plugin.info.txt; updated GeneralTest accordingly. - context_length fed to JS via JSINFO.annotations.contextLen so capture and PHP trimming stay in sync. - conf/ + lang/*/settings.php + README/DESIGN updated.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
show more ...
|