For some reasons I see that most of the links open in an external tab, as default.
Steps to reproduce:
- Visit these links:
- all absolute links open in a new tab
- all relative links open in a new tab
- only wiki pages open in the same tab
- Not all absolute links should open in a new tab - for example, links starting with "https://we.phorge.it/" are probably better to be opened in the same tab
- Relative links are also probably better to be opened in the same tab
Also, see the Home of Phorge itself:
Welcome to Phorge. Phorge is an open source, community driven platform for collaborating, managing, organizing and reviewing software development projects.
You can learn more about the features of Phorge, and how to install Phorge.
You can also browse questions and answers or ask a new question. Finally, if you'd like to get involved, you can learn about contributing to Phorge
To update your Phabricator install to Phorge, follow this guide.
You see that most of the links open in a new tab as default. Why?
Having indiscriminate external links is not a best practice in the web. See this Task that has a more deep thought about this topic:
With that in mind, since I don't want to change things too much, I would start by changing the default, not for all the links, but only for links pointing to an internal destination:
This is a compromise, because there was probably a good reason for opening links in an external tab and it doesn't seem fair to me to just undo this for all the links.
This then still allows in the future to see how it goes, and, if you want, to possibly just put all the links as default to open in the same tab, unless there are strong usability issues already mentioned in T15172.
Truth table of the proposal (assuming that your local URL is https://we.phorge.it/):
|Before this change||external||internal||internal||external||external|
|After this change||external||internal||internal||internal||internal|
Test on your local Phorge
This is just an example Remarkup that you can use to test the situation locally:
== Links that should NOT open in an external tab as default == http://phorge.localhost/phriction/edit/3/ <http://phorge.localhost/#asd> <http://phorge.localhost/phriction/edit/3/> [[ http://phorge.localhost/phriction/edit/3/ | http://phorge.localhost/phriction/edit/3/ ]] [[ /phriction/edit/3/ | /phriction/edit/3/ ]] == Still internal links as default == [[ / ]] [[ #asd | #asd ]] == Still External Links as default == https://google.com/ <https://google.com/> [[ https://google.com/| https://google.com/ ]]