Public bug reported:

Hello,

i try to use the mediawiki2latex on my fresh instaled saucy test box.
When I call it on my private wiki (only accesable from my home network
over http://marge.springfield/wiki/index.php/) found out that mediawiki
has problems with concating the links right. When you take a look in the
attached log file, you can see that I tryed to get
http://marge.springfield/wiki/index.php?title=Hauptseite&action=view
from the comandline. And expected to get a nice pdf output file in
~/test.pdf.

In the logfile you can find the call and the error message, also shown below:
mediawiki2latex -o ~/test.pdf -u 
http://marge.springfield/wiki/index.php?title=Hauptseite&action=view
...
Error downloading the lemma "index.php" form the url 
"http://marge.springfield/wiki/index.php?title=Hauptseite";

For sure there was no ~/test.pdf created.

While taking a look into the attched log file I found out that the tool
made /wiki/Special:Export/index.php?title=Hauptseite out of the intput
url. But the right link would be
/wiki/index.php?title=Special:Export/Hauptseite.

So I think the tool has problems with the string wiki between the
hostname and the index.php

Well at least. The Mediawiki I tryed to work with is a Ubunut 12.04 LTS
installation, with mediawiki comming from the default repository.

** Affects: mediawiki2latex (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Logfile from the call"
   
https://bugs.launchpad.net/bugs/1232241/+attachment/3845811/+files/mediawiki2latex.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1232241

Title:
  comandline version throws error when used on a sub page wiki

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediawiki2latex/+bug/1232241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to