aiyuyun2015 / wiki2latex

Automatically exported from code.google.com/p/wiki2latex
0 stars 0 forks source link

wiki2latex depends on extension directory name w2l #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install snapshot of wiki2latex in extensions/wiki2latex (not w2l)
2. Try to export a wiki page ( "LaTeX/PDF" tab, then "Download TeX files", then 
click link for "File.tex"

What is the expected output? What do you see instead?

Expected to download the tex files.  Instead got a 404: "Not Found The 
requested URL /srv/mediawiki/extensions/w2l/w2lSendFile.php was not found on 
this server."

What version of Wiki2LaTeX are you using? On which Mediawiki version?
wiki2latex : 1.20.0
mediawiki: (Version 13: 2013-02-13)

Please provide any additional information below.

The only place where w2l, as a directory, seems to be hardcoded is in 
w2lMessages.php.  Would it be possible to do something other than 
"$1/extensions/w2l/w2lSendFile.php", as is done with the rest of the includes 
and linking?

Original issue reported on code.google.com by joshuaaa...@gmail.com on 5 Mar 2013 at 10:02

GoogleCodeExporter commented 8 years ago
To be clear, this isn't a showstopping bug;  just a minor inconvenience.  

Original comment by joshuaaa...@gmail.com on 5 Mar 2013 at 10:03

GoogleCodeExporter commented 8 years ago
I'll look into it. Thanks for your report.

Original comment by hansgeorg.kluge@gmail.com on 31 Mar 2013 at 5:10

GoogleCodeExporter commented 8 years ago

Original comment by hansgeorg.kluge@gmail.com on 31 Mar 2013 at 5:10