Skip to content

Revisions pagination is broken for wiki pages #31755

Closed
@na-Itms

Description

@na-Itms

Description

When viewing the revision history of wiki pages, the pagination links are broken: instead of org/repo/wiki/Page?action=_revision&page=2, the link is only org/repo/wiki/Page?page=2, thus bringing the user back to the wiki page.

It looks like $paginationParams is not correctly set in the base/paginate template in this specific case, I do not know why.

Example: https://demo.gitea.com/na-Itms/test/wiki/Home?action=_revision

Screenshots

image

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

Firefox 128

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions