Relative link in wiki don't work from project tab when repository is disabled and wiki is displayed in project page.
Summary
With the posibility to disable repository in project, now the wiki is displayed in project tab by default, but relative link don't work from project tab.
Feature gitlab-org/gitlab-ce#19734
Actual behavior
Relative link that work in wiki tab not work when used in project tab.
[my relative link](my-wikip-pages)
Generate this link when viewed from project tab:
http://mygitlab/subpath/group/project/master/my-wikip-pages
And this link when viewed from wiki tab:
http://mygitlab/subpath/group/project/wikis/my-wikip-pages
Expected behavior
That link must generate link relative to the wiki on project tab when repository is disabled like that :
http://mygitlab/subpath/group/project/wikis/my-wikip-pages
Output of checks
Results of GitLab application Check
Checking GitLab Shell ...
GitLab Shell version >= 3.6.6 ? ... OK (3.6.6)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
4/1 ... ok
29/2 ... ok
33/3 ... repository is empty
18/4 ... ok
7/8 ... ok
4/9 ... ok
32/10 ... ok
23/11 ... ok
3/12 ... ok
14/15 ... ok
14/16 ... ok
14/17 ... repository is empty
18/19 ... ok
17/20 ... ok
17/21 ... ok
18/22 ... ok
14/24 ... repository is empty
31/25 ... ok
14/26 ... ok
7/27 ... repository is empty
7/28 ... repository is empty
7/29 ... repository is empty
7/30 ... repository is empty
23/31 ... ok
28/32 ... ok
4/33 ... ok
33/34 ... repository is empty
29/35 ... ok
23/36 ... ok
27/37 ... repository is empty
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... no
Try fixing it:
sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads
sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} \;
sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} \;
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
4/1 ... yes
29/2 ... yes
33/3 ... yes
18/4 ... yes
7/8 ... yes
4/9 ... yes
32/10 ... yes
23/11 ... yes
3/12 ... yes
14/15 ... yes
14/16 ... yes
14/17 ... yes
18/19 ... yes
17/20 ... yes
17/21 ... yes
18/22 ... yes
14/24 ... yes
31/25 ... yes
14/26 ... yes
7/27 ... yes
7/28 ... yes
7/29 ... yes
7/30 ... yes
23/31 ... yes
28/32 ... yes
4/33 ... yes
33/34 ... yes
29/35 ... yes
23/36 ... yes
27/37 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 5
Checking GitLab ... Finished
Results of GitLab environment info
System information
System: RedHatEnterpriseServer 6.4
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:1.13.5
Rake Version: 10.5.0
Sidekiq Version:4.2.1
GitLab information
Version: 8.13.0
Revision: 053a0a2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://mygitlab/subpath
HTTP Clone URL: http://mygitlab/subpath/some-group/some-project.git
SSH Clone URL: git@mygitlab:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 3.6.6
Repository storage paths:
- default: /gitlab/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git