Skip Navigation

no section-linking in travel guide?

Travel Forums System Talk no section-linking in travel guide?

1. Posted by bentivogli (Travel Guru 2398 posts) 9y Star this if you like it!

Today I tried to create a link in Travel Guide to a section of another page using the usual wiki syntax [ [ page # section ] ], but that didn't work. Did I miss something, or is it simply impossible?

2. Posted by bentivogli (Travel Guru 2398 posts) 9y Star this if you like it!

While I'm at it; I noted that external links in the Travel Guide get a special icon, whereas in the forums no distinction between internal and external links is made... Completely unrelated, I know, but the two messages are probably answered by the same person anyway ;)

3. Posted by Peter (Admin 6038 posts) 9y Star this if you like it!

Interesting. This is due to the trailing slash automatically being added. Originally the plan was without trailing slash - then it was added on the end. This kind of is a good example why it might be better to go for the non-trailing-slash option..

As for the links in the forum, vs wiki - that's a good point. It's only because the features were added at different times that no allowance was made for that. Probably a relatively easy thing to improve.

4. Posted by Hien (Travel Guru 3906 posts) 9y Star this if you like it!

Another thing I noticed ever since the wiki linking style is enabled is that links no longer open in new windows when clicked. Intentional or bug?

5. Posted by Peter (Admin 6038 posts) 9y Star this if you like it!

Quoting Hien

Another thing I noticed ever since the wiki linking style is enabled is that links no longer open in new windows when clicked. Intentional or bug?

Intentional.

We've pretty much ditched the "open in a new window" thing in most areas and it was only natural to also ditch it in the forums. Sander tried to talk me around to this a while ago and it took me a while to come around to his logic, but I'm in total agreement now. Basically, by launching in a new window, we would disable the user's back button, which is not ideal at all. Users can of course control if they want a link to launch in a new window/tab anyway, using browser shortcuts (command-click on FF Mac for instance). Personally, I've become addicted to that way of doing things and only get frustrated when the site forces a new window on me.

Also, it helps keep our code valid.

6. Posted by Peter (Admin 6038 posts) 9y Star this if you like it!

Quoting bentivogli

Today I tried to create a link in Travel Guide to a section of another page using the usual wiki syntax [ [ page # section ] ], but that didn't work. Did I miss something, or is it simply impossible?

Ok, fixed. You can either link to an anchor in a separate article, like this

[[Australia#Geography|Australian Geography]]

that will render this link .. Australian Geography

Or you can link to a section within the current article like this

[[#Geography|The Geography Section]]

7. Posted by bentivogli (Travel Guru 2398 posts) 9y Star this if you like it!

Great Peter, thanks for that.

By the way, is there an easy way to get a list of pages that are 'in'/'under' other pages? I was hoping to be able to generate a list of all articles on topics located 'in' Netherlands, but without any success so far.

8. Posted by Peter (Admin 6038 posts) 9y Star this if you like it!

Not currently I'm afraid. Shouldn't be hard to make a page like that though. Must get on to that :)