REDIRECT to page section  Topic is solved

Moderators: krankyd, Unholy

REDIRECT to page section

Postby AlanOfTheBerg » Wed Sep 11, 2013 3:53 am

Do redirects to page sections not work as expected? I can't get "bowtie" to redirect to anything but the page top. The URL doesn't reflect what I'd expect either, but I guess some recent wikimedia update changed the way redirects work...

Any suggestions?
Wiki Resources: Map Editing Manual | Oregon Project/To-Do List
Oregon-based US Country Manager | iPhone5 - VZ - iOS 7.0.6 | Waze v3.7.9.992
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 19485
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 653 times
Been thanked: 2255 times

Re: REDIRECT to page section

Postby AlanOfTheBerg » Tue Mar 04, 2014 3:15 am

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.
Wiki Resources: Map Editing Manual | Oregon Project/To-Do List
Oregon-based US Country Manager | iPhone5 - VZ - iOS 7.0.6 | Waze v3.7.9.992
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 19485
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 653 times
Been thanked: 2255 times

Re: REDIRECT to page section

Postby AlanOfTheBerg » Tue Mar 04, 2014 6:26 am

Wikimedia is effed up then. It really makes no sense to me. When you click the redirected page link at the top, then click the big link from the redirect page, it takes you to the properly named page with anchor. This is a design flaw.
Wiki Resources: Map Editing Manual | Oregon Project/To-Do List
Oregon-based US Country Manager | iPhone5 - VZ - iOS 7.0.6 | Waze v3.7.9.992
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 19485
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 653 times
Been thanked: 2255 times

Re: REDIRECT to page section

Postby kentsmith9 » Thu Sep 12, 2013 1:54 am

REDIRECTS work two ways:

1. When typed in the search bar they should go directly to the section noted in the redirect, but I too have noticed they seem to have stopped working in the last few months. I spoke to Jackson on that and was going to write it up for him to send to the Wiki back end guys.

2. When linked from inside another page, they seem to work fine, but I think it may be looking at the actual location, not the redirect.

Does this match your experience?

EDIT: both of the above situations are currently acting the same as #1.
Last edited by kentsmith9 on Thu Sep 12, 2013 1:57 am, edited 1 time in total.
Reason: Changed my experience
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 times

Re: REDIRECT to page section

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

I am going to post some notes from my search on this problem and have the Waze back-end team review here.

I found this https://www.mediawiki.org/wiki/Special: ... Wiki/18220 talking about adding a fix for allowing a redirect to a section of a page.

In Wikipedia they can currently redirect to a section on a page, so I know it is possible. Somehow we are missing that feature, patch, fix, etc. I thought it was working maybe 6 months ago, so it is possible with the last update to add the Parser Extensions we might have lost something we need for REDIRECTs.
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 times

Re: REDIRECT to page section

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

Another note in the Wikimedia page on Section linking states:

(One might have to force reload CSS style sheets.)
kentsmith9
Waze Global Champs
Waze Global Champs
 
Posts: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 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: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 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: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 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: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 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: 3164
Joined: Mon Apr 23, 2012 3:33 pm
Location: SF/SJ Bay Area of Northern California
Has thanked: 537 times
Been thanked: 599 times

Next

Return to Wiki Updates and Discussion

Who is online

Users browsing this forum: kentsmith9