Skip to content

Exclude homepage and Wiki system pages from trending - #7

Merged
hekuo5310 merged 1 commit into
mainfrom
fix/system-page-trending
Oct 5, 2026
Merged

hekuo5310 merged 1 commit into
mainfrom
fix/system-page-trending

Conversation

@hekuo5310

Copy link
Copy Markdown
Member

The homepage and Wiki/ pages should not occupy popular-document rankings. Filter them before ranking limits in both D1 and Analytics Engine, using configured homepage names. Preserve page view totals and the full admin page statistics. Change the public ranking cache key to avoid serving the previous policy.

The production Wiki prefix rule has also been configured through the existing permissions system to default new Wiki/ pages to admin-only editing; existing system documents and homepage were confirmed admin-only.

Validation: typecheck, production build and six service tests pass, including exclusion before LIMIT, preserved counts/admin page statistics, and administrator versus ordinary-editor prefix ACL evaluation.

@hekuo5310
hekuo5310 merged commit 4d90799 into main Oct 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant