Wiki history (web)
no pagination
Full-text search results (web)
pagination appied
My contributions (web)
Route/View: WikiPageController::contribution → templates/wiki/page_my_contribution.html.twig
Problem: Fixed size (service uses limit: 50, offset: 0).
Add: ?page=&limit= UI pager.
Service/Repo: expose params in WikiPageService::getContributions(?User $user, int $page, int $limit); repo method should accept limit, offset + a count query.
My contributions (API)
Route: GET /api/wiki/contribution (WikiPageApiController::contribution)
Problem: No paging.
Add: ?page=&limit= and return { items, page, limit, total }.
Recent changes (optional but recommended)
Sidebar fragment: WikiPageController::recentChanges currently returns top N (no paging).
If you add a full page (e.g. /wiki/recent-changes/all), support ?page=&limit=.
Service/Repo: extend WikiPageService::getRecentChanges(...) and repo to accept offset, and (ideally) return total. Update cache key to include page.
Nice-to-have refinements
Comments endpoints: you already accept page/limit; consider returning total (or has_more) so the frontend can show a proper pager:
댓글 (0)
댓글 남기기