Menu

#369 Bad links in wikiversity

v2.4.*
closed
gnosygnu
http_server (7)
v2.4.3
2015-04-20
2015-04-16
echo0
No

In the http_server or gui version for example (it's the same for any lesson) when browsing to
fr.wikiversity.org/wiki/Règles_et_rudiments_du_jeu_d’échecs
you can notice the link on the right are red the generated links are wrong I don't know if the problem is specific with the french version only please make a test with en.wikiversity.org (sorry for me low memory and low bandwidth for the moment).

When you manually type a good url and for exemple browse to
fr.wikiversity.org/wiki/Règles_et_rudiments_du_jeu_d’échecs/Introduction
you can also notice that the bottom links (previous an next lessons) are wrong too (red display)

xowa is started with the command line :
java -Xmx256m -jar /xowa/xowa_linux.jar --app_mode http_server
or
java -Xmx256m -jar /xowa/xowa_linux.jar --app_mode gui
the version used is the latest 2.4.2.1

Discussion

  • echo0

    echo0 - 2015-04-16

    wikiversity was installed using the file Xowa_frbundle_2014-08-15.7z

     
  • echo0

    echo0 - 2015-04-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -In the gui version when browsing to
    +In the http_server or gui version when browsing to
     fr.wikiversity.org/wiki/Règles_et_rudiments_du_jeu_d’échecs
     you can notice the link on the right are red the generated links are wrong I don't know if the problem is specific with the french version only please make a test with en.wikiversity.org (sorry for me low memory and low bandwidth for the moment).
    
    @@ -7,5 +7,7 @@
     you can also notice that the bottom links (previous an next lessons) are wrong too (red display)
    
     xowa is started with the command line :
    +java -Xmx256m -jar /xowa/xowa_linux.jar --app_mode http_server
    +or
     java -Xmx256m -jar /xowa/xowa_linux.jar --app_mode gui
     the version used is the latest 2.4.2.1
    
     
  • echo0

    echo0 - 2015-04-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,8 +1,8 @@
    -In the http_server or gui version when browsing to
    +In the http_server or gui version for example (it's the same for any lesson) when browsing to
     fr.wikiversity.org/wiki/Règles_et_rudiments_du_jeu_d’échecs
     you can notice the link on the right are red the generated links are wrong I don't know if the problem is specific with the french version only please make a test with en.wikiversity.org (sorry for me low memory and low bandwidth for the moment).
    
    -When you manually type the good url and browse to
    +When you manually type a good url and for exemple browse to
     fr.wikiversity.org/wiki/Règles_et_rudiments_du_jeu_d’échecs/Introduction
     you can also notice that the bottom links (previous an next lessons) are wrong too (red display)
    
     
  • gnosygnu

    gnosygnu - 2015-04-17

    Thanks for the detailed report. No worries about testing only en.wikiversity.org. All you need to do is cite one page: it's up to me to explain why! Also, you don't need to cite command-line args, version number and bundle. Your ticket descriptions are great, and I'd rather you save yourself some typing. :)

    First, as a matter of background, the redlinks mean that the page does not exist on the wiki. The gui identifies correctly which pages do and do not exist. The http_server assumes everything exists.

    This is a limitation of the http_server. The gui identifies the redlinks in a background thread and then updates the page. Unfortunately, this approach is not possible through the http_server. I think there are three approaches:

    • Have the server wait until XOWA gets redlink data for everything
      • This approach is problematic in that pages will take longer to serve (XOWA has to check every link to see if it exists)
    • Generate an HTML dump for the wiki that has redlink data
      • This approach is problematic in that it doesn't yet exist (it will as I get Android done in the next month or two)
    • Build an asynchronous AJAX client on the client side and have it poll the server
      • This approach is best, but it requires some significant coding on my side.

    Let me know how important the redlinks are. I may be able to add #1 as an option, and do some exploratory work on #3.

     
  • gnosygnu

    gnosygnu - 2015-04-17
    • labels: --> http_server, redlinks
    • status: new --> pfe
    • Milestone: v2.4.* --> PFE
     
  • Anonymous

    Anonymous - 2015-04-17

    The problem is that links on the lessons are BAD. I don't care if they are red or not in the http_server, I'd like to have the correct links generated in the lessons pages.

    If you go to
    http://localhost:8080/fr.wikiversity.org/wiki/R%C3%A8gles_et_rudiments_du_jeu_d%E2%80%99%C3%A9checs
    and click on
    Chap. 1 : Introduction
    then it redirects you to
    http://localhost:8080/fr.wikiversity.org/wiki//Introduction
    which says Page not found

    so links in wikiversity are not working that's the point of my ticket, because wikiversity is not usable

     
  • Anonymous

    Anonymous - 2015-04-17

    please move the ticket to v2.4.* again

     
  • gnosygnu

    gnosygnu - 2015-04-17

    Ah, sorry. My mistake. I thought this was about redlinks.

    Yes, those links are wrong. They use relative paths ([[/A]]) which I broke recently in v2.4.1. This has been fixed for v2.4.3 (another user reported the issue this week)

    Thanks!

     
  • gnosygnu

    gnosygnu - 2015-04-17
    • labels: http_server, redlinks --> http_server
    • status: pfe --> done
    • Expected release: --> v2.4.3
    • Milestone: PFE --> v2.4.*
     
  • Anonymous

    Anonymous - 2015-04-18

    Ok I didn't search for another ticket about this before opening it. Thanks.

     
  • gnosygnu

    gnosygnu - 2015-04-18

    Sorry: I didn't say. The other user reported it to me via email.

    Please don't bother searching tickets to see if they're already reported. The volume of ticks is so low, I'd rather have people open up redundant tickets, than no tickets at all. I really do appreciate the time that users take to report an issue, and it takes me little time to answer them.

    Thanks!

     
  • gnosygnu

    gnosygnu - 2015-04-20
    • status: done --> closed
     

Anonymous
Anonymous

Add attachments
Cancel