REDIRECT to page section  Topic is solved

Moderator: Unholy

Re: REDIRECT to page section

Postby sirKitKat » Fri Oct 18, 2013 3:06 pm

kentsmith9 wrote:
sirKitKat wrote:* If in the future, you want to point people to an other location in the wiki about Permalinks you just have to change the Permalink page.

I am not clear what would be changed on the Permalink page. Do you mean on the Permalink redirect page?

I mean the Permalink page.

If for some reason the page Waze Map Editor moves to a new location (page name changes) or the Waze Map Editor page is getting to long and you want to move the information to a seperate page or you want users to get to the Map Editor Interface and Controls page.
the only page you have to change is the [url=https://www.waze.com
/wiki/index.php?title=Permalink&redirect=no]Permalink[/url] page.
sirKitKat
Wiki Master
Wiki Master
 
Posts: 658
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 345 times
Been thanked: 134 times

Re: REDIRECT to page section

Postby kentsmith9 » Fri Oct 18, 2013 2:47 pm

sirKitKat wrote:* If in the future, you want to point people to an other location in the wiki about Permalinks you just have to change the Permalink page.

I understand the easy to remember point, but help me understand this other point. I must have missed it in your original proposal.

I am not clear what would be changed on the Permalink page. Do you mean on the Permalink redirect page?
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5210
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 1329 times
Been thanked: 1568 times

Re: REDIRECT to page section

Postby sirKitKat » Fri Oct 18, 2013 2:32 pm

kentsmith9 wrote:Ok. I forgot we had pages that try to link to the redirect. Although that is a legitimate link, our current bug breaks it. I agree we can fix the problem, but why not just go direct to the page section with:

[[Waze Map Editor#Permalink|Permalink]]

This works fine, is the documented Wiki instruction for a link, and does not depend on some other strange bug workaround that might break in the next update. :lol:

Or are you somehow saying your triple Permalink link allows something more?

Note: I did go through the Wiki just now and replace all single permalink wikilinks to the one I listed above. They all tested fine from Wiki pages.

I can live with that solution.

The triple Permalink link has 2 advantages:
* If in the future, you want to point people to an other location in the wiki about Permalinks you just have to change the Permalink page.
* Triple Permalink is easy to remember ;-)

Both systems could work side by side.
sirKitKat
Wiki Master
Wiki Master
 
Posts: 658
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 345 times
Been thanked: 134 times

Re: REDIRECT to page section

Postby kentsmith9 » Fri Oct 18, 2013 2:22 pm

Also, I am currently working with Waze web team to identify the problem and get our Wiki code updated/fixed.
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5210
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 1329 times
Been thanked: 1568 times

Re: REDIRECT to page section

Postby kentsmith9 » Fri Oct 18, 2013 2:19 pm

Ok. I forgot we had pages that try to link to the redirect. Although that is a legitimate link, our current bug breaks it. I agree we can fix the problem, but why not just go direct to the page section with:

[[Waze Map Editor#Permalink|Permalink]]

This works fine, is the documented Wiki instruction for a link, and does not depend on some other strange bug workaround that might break in the next update. :lol:

Or are you somehow saying your triple Permalink link allows something more?

Note: I did go through the Wiki just now and replace all single permalink wikilinks to the one I listed above. They all tested fine from Wiki pages.
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5210
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 1329 times
Been thanked: 1568 times

Re: REDIRECT to page section

Postby sirKitKat » Fri Oct 18, 2013 8:50 am

kentsmith9 wrote:I'm not sure what you are trying to solve. Today any link in the Wiki can go directly to a subsection on a page with no problem. The issue is when you want to search for the redirect, it fails.

If you want to send someone to the Permalink specific subsection from the Wiki, you enter:

[[Waze Map Editor#Permalink|Permalink]]

How is entering:

[[Permalink#Permalink|Permalink]]

a better solution?

There are a lot of pages that link to permalink like this:

[[Permalink]]

This generates a valid page link (= not red link) but the redirect to the section does not work.
I believe this is caused by the same problem: page redirect to a section on an other pages does not work properly.
sirKitKat
Wiki Master
Wiki Master
 
Posts: 658
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 345 times
Been thanked: 134 times

Re: REDIRECT to page section

Postby kentsmith9 » Fri Oct 18, 2013 4:13 am

I'm not sure what you are trying to solve. Today any link in the Wiki can go directly to a subsection on a page with no problem. The issue is when you want to search for the redirect, it fails.

If you want to send someone to the Permalink specific subsection from the Wiki, you enter:

[[Waze Map Editor#Permalink|Permalink]]

How is entering:

[[Permalink#Permalink|Permalink]]

a better solution?
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5210
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 1329 times
Been thanked: 1568 times

Re: REDIRECT to page section

Postby sirKitKat » Thu Oct 17, 2013 10:13 pm

Just found out: the link will work as expected if you write the link like this:
Code: Select all
[[Permalink#Permalink|Permalink]]
sirKitKat
Wiki Master
Wiki Master
 
Posts: 658
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 345 times
Been thanked: 134 times

Re: REDIRECT to page section

Postby sirKitKat » Thu Oct 17, 2013 10:03 pm

I want to do a redirection for Permalink and I came tot the same problem.
But I think I have a really nice workaround for the problem but it involves some small edits on all existing pages that are linking to the Permalink page and Template:Permalink.

Current situation:
* linking to the Permalink section is done by: [[Permalink]]
* including the explanation of Permalink on a page (template): {{Permalink}}
* Permalink page: redirect to the Permalink section
* Template page: explanation of Permalink

Suggestion A:
* linking to the Permalink section: {{Permalink}}
* including the explanation of Permalink on a page: {{:Permalink}}
* Permalink page: explanation of Permalink
* Template page: Simple link to Permalink section:
Code: Select all
[[Waze_Map_Editor#Permalink|Permalink]]

Suggestion B: The opposite of A:
* linking to the Permalink section: {{:Permalink}}
* including the explanation of Permalink on a page: {{Permalink}}

The question is what do you want to show the user if he reaches the permalink page?
* Redirect (current behaviour)
* Only the explaination of Permalink
* A link where the full explaination of Permalink can be found
* Customized text. (with the use of <noinlcude> and <includeonly> almost everything is possible)

What doesn't work is combining #REDIRECT with <noinclude> or <includeonly>
sirKitKat
Wiki Master
Wiki Master
 
Posts: 658
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 345 times
Been thanked: 134 times

Re: REDIRECT to page section

Postby kentsmith9 » Thu Sep 12, 2013 2:37 am

I keep finding old messages from 2005-2006 that says you cannot redirect to an anchor (we aren't even trying to do that). However today if you go to Wikipedia and search for "Intel SSD" you will be taken to a section on that page that is only reached by the anchor template just before that section displayed. Therefore sometime after 2006 this bug has been fixed at least for Wikipedia.
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5210
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 1329 times
Been thanked: 1568 times

PreviousNext

Return to Wiki Updates and Discussion

Who is online

Users browsing this forum: No registered users