gnosygnu / xowa

xowa offline wiki application
Other
380 stars 40 forks source link

name expansion discrepancy #477

Open desb42 opened 5 years ago

desb42 commented 5 years ago

Taking the example page en.wikipedia.org/wiki/Wikipedia:Categories_for_discussion/Log/2019_February_21 a screen shot of the mediawiki page is exp1 There are three links (I have indicated two of them - the third follows the second) Taking the first of those links The wikitext is [[WP:G7]] The on screen display is WP:G7 The hover (title) is Wikipedia:G7 And the link is /wiki/Wikipedia:G7

Taking xowa The on screen display is Wikipedia:G7 The hover (title) is Wikipedia:G7 And the link is /wiki/WP:G7

The link should be expanded and the on screen not

And I think related Taking the page en.wikiversity.org/wiki/West_African_Ebola_virus_epidemic#Containment_and_control exp2 The wikitext of the two links are

{{Main|Wikipedia:Prevention of viral hemorrhagic fever}}
{{See also|Wikipedia:Ebola virus disease#Prevention}}

First link The on screen display is Wikipedia:Prevention of viral hemorrhagic fever The hover (title) is wikipedia:Prevention of viral hemorrhagic fever - note the lowercase 'w' And the link is https://en.wikipedia.org/wiki/Prevention_of_viral_hemorrhagic_fever Second link The on screen display is Wikipedia:Ebola virus disease § Prevention The hover (title) is wikipedia:Ebola virus disease - note the lowercase 'w' And the link is https://en.wikipedia.org/wiki/Ebola_virus_disease#Prevention

For xowa First link The on screen display is Prevention of viral hemorrhagic fever The hover (title) is Prevention of viral hemorrhagic fever And the link is /site/en.wikipedia.org/wiki/Prevention_of_viral_hemorrhagic_fever Second link The on screen display is Wikipedia:Ebola virus disease § Prevention The hover (title) is Ebola virus disease And the link is /site/en.wikipedia.org/wiki/Ebola_virus_disease#Prevention

A difference is one link has an anchor (#) that seems to cause different behaviour

gnosygnu commented 5 years ago

Thanks for the detailed breakdown. The first issue should be a simple change. The second issue is probably harder as the anchor behavior always seems counter-intuitive.