REDIRECT to page section  Topic is solved

Moderator: Unholy

Re: REDIRECT to page section

Postby sirKitKat » Sat Oct 19, 2013 9:11 pm

kentsmith9 wrote:The one thing I see missing from that above idea is when you want to direct into a part of a page to have context. A stand alone page for just one portion of a page may not work in all cases. Permalink is certainly one that that can stand alone very easily when someone searches from the Wiki. All our other links can go direct from within a Wiki page.

True

kentsmith9 wrote:
sirKitKat wrote:Including ARegularWikiPage in an other page is done by {{:ARegularWikiPage}}

That is news to me and very cool indeed. I can see definite uses for that. :)

Maybe I can learn you an other cool trick:
Wikimarkup between <includeonly>will only appear when included in an other page</includeonly>
Wikimarkup between <noinclude>will only appear on the page itself</noinclude>
(By wikimarkup I mean the sourcecode of the text, incluing: links, images, tables, ...)
If you have any question about what can be done and what not with wikimarkup, don't hesitate to ask!
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 times

Re: REDIRECT to page section

Postby sirKitKat » Fri Oct 18, 2013 9:43 pm

kentsmith9 wrote:OH. You are proposing we create a specific page on Permalink with ALL the content of the Permalink information. That way Permalink is no longer a sub section on a page, but its own page enabling the search to find it directly. Got it.

Yep, that is/was suggestion A.

I suppose you know how templates work but did you know you can do the following:
Including Template:NameOfTemplate in a page is done by {{NameOfTemplate}}
Including ARegularWikiPage in an other page is done by {{:ARegularWikiPage}}

This means that you can have a specific page with the explanation of a Permalink on its own AND include this explanation in a permalink section on the Waze Map Editor page ;)

If you want to learn more about the possibilities of templates, I invite you to look at some of the Benelux Roads pages

kentsmith9 wrote:I will need to reread your prior post later tonight with this new information and see if that helps my understanding of the rest of your proposal to change the template. ;)

With the new information I learned from you, it feels like my proposal is overkill in contrast with the triple Permalink solution :) Maybe wait until there is more news from waze on the #redirect [[Page#section]].
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 times

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.
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 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.
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 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.
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 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]]
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 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>
Image
(This image represents the update cycle of the INTL map tiles CET. The NA version of this can be found here CT)
sirKitKat
Wiki Master
Wiki Master
 
Posts: 674
Joined: Thu Nov 24, 2011 4:50 pm
Location: BE-Deinze / Waze wiki: Benelux
Has thanked: 357 times
Been thanked: 148 times

Re: REDIRECT to page section

Postby kentsmith9 » Tue Mar 04, 2014 6:28 am

I agree, but doubt there is an easy fix if Wikipedia still has the issue. ;)
USA: California (Northern, SF/SJ)

ImageImageImageImageImageImage
PLEASE READ: Waze Map Editor (Start Here) | Editing Quick-start | Best Practices | Junctions
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5554
Joined: Mon Apr 23, 2012 3:33 pm
Location: Boise ID and SF/SJ Bay Area of Northern California
Has thanked: 1487 times
Been thanked: 1694 times

Re: REDIRECT to page section

Postby kentsmith9 » Tue Mar 04, 2014 6:17 am

AlanOfTheBerg wrote:IMO, I do not like the way the redirect works because it uses the redirect page name as the pagename#pagename. For example, searching for "parking lots" redirects https://wiki.waze.com/wiki/Parking_lots#Parking_Lots when it really should be redirecting to https://wiki.waze.com/wiki/Best_map_edi ... rking_Lots.

While I agree with you, that is Wikimedia. I just ran a similar test on Wikipedia and get the same result. FAD. I doubt we could change that operation considering Wikipedia does it now.
USA: California (Northern, SF/SJ)

ImageImageImageImageImageImage
PLEASE READ: Waze Map Editor (Start Here) | Editing Quick-start | Best Practices | Junctions
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5554
Joined: Mon Apr 23, 2012 3:33 pm
Location: Boise ID and SF/SJ Bay Area of Northern California
Has thanked: 1487 times
Been thanked: 1694 times

Re: REDIRECT to page section  Topic is solved

Postby kentsmith9 » Sun Mar 02, 2014 4:57 am

Note that as of the February Wiki update, our redirects to subsections now works and we do not need any workaround for things to work as expected.
USA: California (Northern, SF/SJ)

ImageImageImageImageImageImage
PLEASE READ: Waze Map Editor (Start Here) | Editing Quick-start | Best Practices | Junctions
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 5554
Joined: Mon Apr 23, 2012 3:33 pm
Location: Boise ID and SF/SJ Bay Area of Northern California
Has thanked: 1487 times
Been thanked: 1694 times

Next

Return to Wiki Updates and Discussion

Who is online

Users browsing this forum: No registered users
https://www.waze.com/forum/viewtopic.php?p=581172
www.waze.com
crawl=CC-MAIN-2018-05
177635
application/http; msgtype=response
sha1:QSPZ4MCZHPSLU3QMX4Q7CXIRFAZOBT2E
<urn:uuid:d4f8cf63-46f8-4d80-85bd-ac1f988ca603>
2018-01-23T23:20:23Z
130.211.9.172
application/xhtml+xml
sha1:4SX3GP7SWG4O6NOPXEHJW7KXI2VV3RIL
<urn:uuid:6a01cbe1-ad24-49e7-9503-3de977f3d512>
https://www.waze.com/forum/viewtopic.php?p=581172
length
response
<urn:uuid:7ae6513c-cc81-4c2c-b205-2f5ff23eb024>
robots: classic
hostname: ip-10-111-199-146.ec2.internal
software: Nutch 1.6 (CC)
isPartOf: CC-MAIN-2018-05
operator: Common Crawl Admin
description: Wide crawl of the web for January 2018
publisher: Common Crawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf