Last modified: 2014-10-06 20:14:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50606, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48606 - Tables produced by German template "Klimatabelle" not rendered correctly in PDF
Tables produced by German template "Klimatabelle" not rendered correctly in PDF
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on: 48052
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-18 21:28 UTC by Eduard Braun
Modified: 2014-10-06 20:14 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Eduard Braun 2013-05-18 21:28:52 UTC
The tables produced by German template "Klimatabelle" (see http://de.wikipedia.org/wiki/Vorlage:Klimatabelle) are not rendered correctly.

On PDF export the bar graphs are missing most information (see http://de.wikipedia.org/wiki/Datei:Pdf-kempten%28allgaeu%29-180513.png for a screenshot).

On ODF export the tables are not correctly rendered at all.

I couldn't test other output formats since I'm missing a suitable reader for these.
Comment 1 TMg 2013-07-25 23:48:51 UTC
This template was one of the few in the German Wikipedia with a print sub-template that actually fixed that error, see http://de.wikipedia.org/wiki/Vorlage:Klimatabelle/Spalte/Druck. Unfortunately the complete feature set including the exclude from print category and the print sub-templates was silently dropped from the extension without providing an alternative, see bug #48052 and bug #45861.

However, from what I know the developers of the Collection extension don't read this. They don't have accounts here (or lost their passwords or whatever). Try to email them.
Comment 2 Volker Haas 2013-08-05 10:07:38 UTC
My colleagues and I who are responsible for the Collection extension actually read this, and we have accounts.

TMg, you are correct that the print templates are no longer working. Support for print templates had to be dropped in order to support lua templating (which was requested in a ticket by the community/wikimedia devs).

The proposed workaround for the missing print template functionality can be found in the following ticket: https://bugzilla.wikimedia.org/show_bug.cgi?id=50750
Comment 3 TMg 2013-08-05 12:07:45 UTC
(In reply to comment #2)
> proposed workaround for the missing print template functionality

I don't think this will happen for the reasons described in bug #50750.

* Maybe you need to introduce <noprint>...</noprint> and <onlyprint>...</onlyprint> parser tags. Not sure if this is a good idea. Talk to Raimond Spekking please.

* Maybe it would be a good idea to improve your CSS parser. Most current errors in the PDF export have something to do with CSS positioning ("position:absolute" inside a container with "position:relative"). This would fix a lot of errors in a lot of templates. Especially in all map templates.

* A lot more problems can be fixed by introducing a feature to exclude certain web links from print. For example: <span class="noprintlinks">{{Coordinate|...}}</span> (I'm sure there is a better class name for this feature, e.g. "dontprintexternallinks" or simply exclude all toollabs and toolserver links from print). This would be extremely helpful in lists and tables with hundreds of coordinates. They link to the Geohack tool which is completely useless in print. Nobody types the long tool URLs. It's a lot easier to type the coordinates.

This are just a few simple suggestions. We need you to make this a reality. Pointing to a proposed workaround that was already rejected and would not fix the problems anyway does not help.
Comment 4 Nemo 2014-09-26 05:51:24 UTC
The table renders well in Parsoid so there is hope: http://parsoid-lb.eqiad.wikimedia.org/dewiki/Bologna?oldid=131845423

But note, https://www.mediawiki.org/wiki/Thread:Talk:PDF_rendering/Tables
Comment 5 Gadget850 2014-10-06 20:05:16 UTC
I suspect this accounts for issues with infoboxes on enwiki since they render as tables.

https://en.wikipedia.org/wiki/Java_%28programming_language%29
The infobox does not render at all in PDF.
Comment 6 Nemo 2014-10-06 20:14:36 UTC
(In reply to Gadget850 from comment #5)
> I suspect this accounts for issues with infoboxes on enwiki since they
> render as tables.
> 
> https://en.wikipedia.org/wiki/Java_%28programming_language%29
> The infobox does not render at all in PDF.

As I said in comment 4, all tables are excluded from the new PDF, so this bug doesn't currently apply to Wikimedia projects.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links