diff --git a/routers/web/repo/wiki.go b/routers/web/repo/wiki.go index ff6397cd2a..13b6a7b8e3 100644 --- a/routers/web/repo/wiki.go +++ b/routers/web/repo/wiki.go @@ -410,6 +410,7 @@ func renderRevisionPage(ctx *context.Context) (*git.Repository, *git.TreeEntry) pager := context.NewPagination(int(commitsCount), setting.Git.CommitsRangeSize, page, 5) pager.SetDefaultParams(ctx) + pager.AddParamString("action", "_revision") ctx.Data["Page"] = pager return wikiRepo, entry