Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4cf3a609
Commit
4cf3a609
authored
May 11, 2018
by
Zeger-Jan van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wiki Find Page to opt_out
Closes
https://gitlab.com/gitlab-org/gitaly/issues/894
parent
35816eb7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelogs/unreleased/zj-wiki-find-file-opt-out.yml
changelogs/unreleased/zj-wiki-find-file-opt-out.yml
+5
-0
lib/gitlab/git/wiki.rb
lib/gitlab/git/wiki.rb
+2
-1
No files found.
changelogs/unreleased/zj-wiki-find-file-opt-out.yml
0 → 100644
View file @
4cf3a609
---
title
:
Finding a wiki page is done by Gitaly by default
merge_request
:
author
:
type
:
other
lib/gitlab/git/wiki.rb
View file @
4cf3a609
...
...
@@ -67,7 +67,8 @@ module Gitlab
end
def
page
(
title
:,
version:
nil
,
dir:
nil
)
@repository
.
gitaly_migrate
(
:wiki_find_page
)
do
|
is_enabled
|
@repository
.
gitaly_migrate
(
:wiki_find_page
,
status:
Gitlab
::
GitalyClient
::
MigrationStatus
::
OPT_OUT
)
do
|
is_enabled
|
if
is_enabled
gitaly_find_page
(
title:
title
,
version:
version
,
dir:
dir
)
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment