Page MenuHomePhabricator

Links in generated PDF files are incorrect
Closed, ResolvedPublic

Description

Author: alejrb

Description:
After generating a PDF version of an article by clicking 'PDF Version' in the toolbox, all links in the article are incorrect.

Links in the PDF are of the form:
http://en.wikipedia.org/windex.php?title=Article title

Which gives a 404 error. Instead, they should be of the form:
http://en.wikipedia.org/w/index.php?title=Article title

i.e. they're missing a forward slash in the generated URL.

Reported on en.wp Village Pump, verified.


Version: unspecified
Severity: normal

Details

Reference
bz19350

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:39 PM
bzimport added a project: Collection.
bzimport set Reference to bz19350.

Created attachment 6249
Sample output of en.wikipedia.org/wiki/Foo as PDF

Confirmed. Attached PDF contains bogus links such as http://en.wikipedia.org/windex.php?title=Metasyntactic_variable

Further they should be using the short form which is more attractive and cache-friendly: http://en.wikipedia.org/wiki/Metasyntactic_variable

Attached:

volker.haas wrote:

The bug has been fixed and the software was updated on the renderserver.