| #
72d60f2d |
| 15-Jun-2026 |
tracker-user <82045103+tracker-user@users.noreply.github.com> |
Add clear-resolved to admin overview; make orphaned annotations read-only
Admin panel now shows a Resolved column alongside Normal and Orphaned, with per-page and wiki-wide "clear resolved" actions
Add clear-resolved to admin overview; make orphaned annotations read-only
Admin panel now shows a Resolved column alongside Normal and Orphaned, with per-page and wiki-wide "clear resolved" actions mirroring the existing orphan clears. The counts deliberately overlap: a resolved annotation is counted in both its anchoring facet (Normal or Orphaned) and the Resolved column, so each clear button removes exactly what its label says.
helper::pageCounts() gains the resolved key; clearResolvedAll() mirrors clearOrphanedAll(). In the front-end, orphaned annotation threads are now read-only — Resolve/Reopen and Edit are suppressed, leaving only Delete.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
show more ...
|
| #
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 ...
|