gitlab-org--gitlab-foss/app/controllers/projects
Dmitriy Zaporozhets 52acd2b45c Merge branch 'external_wiki' into 'master'
Add support for external wikis

## What does this MR do?
This MR adds the possibility to replace the link to the internal wiki of gitlab with a custom link.
Currently this is realised as a service.

## What Use Case does this MR solve?
In my Company we already have a wiki System (Confluence).
We have a policy to use the existing wiki, so we can't switch to the internal wiki Gitlab provides.
This currently only leaves us two choices:
1. Disable the gitlab wiki. That means we completly loose the connection between wiki and code from the gitlab ui.
2. Create a simple wiki page with a link to our external wiki and hope that no one uses the internal one.

Both solutions are not really good.
So what can be done to improve the situation while making it as easy as possible for new developers to access both, wiki and gitlab?
Replacing the wiki link kinda like the JIRA integration replaces the issues link looks like a good first step to me. :)
This can probably be extended later to completly prevent access to the internal wiki (currently that's still possible if you know the link) or maybe to check if the link really points to a wiki.

## Screenshot:
![external_wiki_service](https://gitlab.com/uploads/gitlab-org/gitlab-ce/89b27cf068/external_wiki_service.png)

See merge request !291
2015-03-18 02:00:36 +00:00
..
application_controller.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
avatars_controller.rb Introduce shortcuts for routing helpers 2015-02-25 19:34:16 -08:00
blame_controller.rb Reuse blob object fetched by Gitlab::Git::Blame. 2015-03-13 13:49:27 +01:00
blob_controller.rb Web Editor: save to new branch 2015-02-24 11:43:20 +02:00
branches_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
commit_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
commits_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
compare_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
deploy_keys_controller.rb Satisfy Rubocop. 2015-03-17 16:00:32 +01:00
forks_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
graphs_controller.rb Everything from gitlab_git is already UTF-8. 2015-03-13 13:49:27 +01:00
hooks_controller.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
imports_controller.rb Fixing import redirect loop 2015-03-09 16:36:41 -07:00
issues_controller.rb tests 2015-03-16 21:38:41 +02:00
labels_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
merge_requests_controller.rb tests 2015-03-16 21:38:41 +02:00
milestones_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
network_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
notes_controller.rb Fix bug where editing a comment with "+1" or "-1" would cause a server error 2015-03-02 15:26:00 -08:00
project_members_controller.rb Use project_member instead of team_member. 2015-03-15 13:50:38 +01:00
protected_branches_controller.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
raw_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
refs_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
repositories_controller.rb Introduce shortcuts for routing helpers 2015-02-25 19:34:16 -08:00
services_controller.rb Add a service to support external wikis 2015-03-12 19:13:51 +01:00
snippets_controller.rb Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00
tags_controller.rb Move tag deletion to service and execute hooks and services. 2015-03-13 16:07:08 +01:00
tree_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
uploads_controller.rb Satisfy Rubocop. 2015-02-20 16:04:03 +01:00
wikis_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00