Pasting this link does not take you to the relevent header (Kibibit per second) on the page.
Thanks for the report.
I tried now and wasn't able to reproduce it. I'm using v0.4.0 and the 2013-03 English Wikipedia dump. Here are my steps:
1) Open xowa
2) Paste "http://en.wikipedia.org/wiki/Data_rate_units#Kibibit_per_second" into the address bar
3) Press Enter -> Article opens to Kibibit_per_second header
I've tried other variations between #1 and #2 including
going to the Main Page first, then pasting the link
going to the Data_rate_units article, then pasting the link
With each time, it opens directly to the header.
Can you confirm version and dump and any of the procedures above?
EDIT: just to be clear, version / dump shouldn't matter (this isn't a recent fix) but I just want to make sure I want to eliminate these variables
Also, clicking on any of the links in the contents does not change the url (though it does go to the correct heading)
Thanks. I didn't notice that. I'll fix that for a future build. I'm not sure if I'll fix it separately, or combine it with another fix wherein anchor visits don't go into history
An example on the latter:
Go to Data_rate_units
Click on Kibibit_per_second in the TOC
Press back. Browser should go back to the TOC. Instead it goes back to the last visited article.
Last edit: gnosygnu 2013-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-04-03
Try this:
Search for "kbps" in enwiki
Click on "KBps" (the fourth one)
Instead of scrolling to the header it stays at the top. Also refreshing the page (F5) or pressing the go button does not make any difference.
I am using the early Jan enwiki.
Try this URL (the same one you will get in the search above):
en.wikipedia.org/wiki/Data rate units#Kilobit_per_second
I think its this one that is not working properly. The one I mentioned earlier works in mine too. (http://en.wikipedia.org/wiki/Data_rate_units#Kibibit_per_second) I sent the wrong one by mistake.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try this:
Search for "kbps" in enwiki
Click on "KBps" (the fourth one)
Same thing. The anchor still works for me. FYI: KBps leads to en.wikipedia.org/wiki/KBps which redirects to en.wikipedia.org/wiki/Data rate units#Kilobit_per_second
Instead of scrolling to the header it stays at the top. Also refreshing the page (F5) or pressing the go button does not make any difference.
Okay. This is consistent with the anchor not working.
I am using the early Jan enwiki.
Thanks. I checked the page history for both "KBps" and "Data_rate_units" and nothing meaningful has changed.
What about your version? Is it v0.4.0?
Try this URL (the same one you will get in the search above):
en.wikipedia.org/wiki/Data rate units#Kilobit_per_second
Yup. Same thing. Still works.
I'm puzzled why this behavior is not reproducible. Here's some more questions
What happens when you click on Kilobit_per_second in the Table of Contents? Does it scroll you to the header? I would guess no, because they both do the same action
What happens when you click on Notes (en.wikipedia.org/wiki/Data_rate_units#Notes). This should scroll you to the bottom of the page. I'm guessing this should also not work, but I am curious if the one word anchor (no spaces) makes a difference
Is this the only anchor that doesn't work? (You mention that Kibibit works, and it is virtually the same as Kilobit). Do you remember running across any other that also doesn't work?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've kept this ticket open b/c I wanted the address bar to update on an anchor click. This turns out to be fairly difficult. I've created a separate ticket for this: https://sourceforge.net/p/xowa/tickets/101/
I still haven't been able to reproduce the non-scrolling anchor. (I looked at this more tonight). If this is recreatable, please feel free to request reopening (but please have reproducible steps)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
http://en.wikipedia.org/wiki/Data_rate_units#Kibibit_per_second
Pasting this link does not take you to the relevent header (Kibibit per second) on the page.
Also, clicking on any of the links in the contents does not change the url (though it does go to the correct heading)
hidp123
Thanks for the report.
I tried now and wasn't able to reproduce it. I'm using v0.4.0 and the 2013-03 English Wikipedia dump. Here are my steps:
1) Open xowa
2) Paste "http://en.wikipedia.org/wiki/Data_rate_units#Kibibit_per_second" into the address bar
3) Press Enter -> Article opens to Kibibit_per_second header
I've tried other variations between #1 and #2 including
going to the Main Page first, then pasting the link
going to the Data_rate_units article, then pasting the link
With each time, it opens directly to the header.
Can you confirm version and dump and any of the procedures above?
EDIT: just to be clear, version / dump shouldn't matter (this isn't a recent fix) but I just want to make sure I want to eliminate these variables
Thanks. I didn't notice that. I'll fix that for a future build. I'm not sure if I'll fix it separately, or combine it with another fix wherein anchor visits don't go into history
An example on the latter:
Go to Data_rate_units
Click on Kibibit_per_second in the TOC
Press back. Browser should go back to the TOC. Instead it goes back to the last visited article.
Last edit: gnosygnu 2013-04-03
Try this:
Search for "kbps" in enwiki
Click on "KBps" (the fourth one)
Instead of scrolling to the header it stays at the top. Also refreshing the page (F5) or pressing the go button does not make any difference.
I am using the early Jan enwiki.
Try this URL (the same one you will get in the search above):
en.wikipedia.org/wiki/Data rate units#Kilobit_per_second
I think its this one that is not working properly. The one I mentioned earlier works in mine too. (http://en.wikipedia.org/wiki/Data_rate_units#Kibibit_per_second) I sent the wrong one by mistake.
Same thing. The anchor still works for me. FYI: KBps leads to en.wikipedia.org/wiki/KBps which redirects to en.wikipedia.org/wiki/Data rate units#Kilobit_per_second
Okay. This is consistent with the anchor not working.
Thanks. I checked the page history for both "KBps" and "Data_rate_units" and nothing meaningful has changed.
What about your version? Is it v0.4.0?
Yup. Same thing. Still works.
I'm puzzled why this behavior is not reproducible. Here's some more questions
What happens when you click on Kilobit_per_second in the Table of Contents? Does it scroll you to the header? I would guess no, because they both do the same action
What happens when you click on Notes (en.wikipedia.org/wiki/Data_rate_units#Notes). This should scroll you to the bottom of the page. I'm guessing this should also not work, but I am curious if the one word anchor (no spaces) makes a difference
Is this the only anchor that doesn't work? (You mention that Kibibit works, and it is virtually the same as Kilobit). Do you remember running across any other that also doesn't work?
I've kept this ticket open b/c I wanted the address bar to update on an anchor click. This turns out to be fairly difficult. I've created a separate ticket for this: https://sourceforge.net/p/xowa/tickets/101/
I still haven't been able to reproduce the non-scrolling anchor. (I looked at this more tonight). If this is recreatable, please feel free to request reopening (but please have reproducible steps)