Hi Volker,

 

thank you very much!

 

Partial success, the following seems to work and the template is excluded
from print:

 

http://www.ck-wissen.de/ckwiki/index.php?title=Vorlage:Gesundheitshinweis
<http://www.ck-wissen.de/ckwiki/index.php?title=Vorlage:Gesundheitshinweis&d
iff=15663&oldid=15638> &diff=15663&oldid=15638

 

 

But unfortunately we can’t get the “Vorlage:ImDruckVerbergen” to work as it
used to work, for the content of this template please see 

 

http://www.ck-wissen.de/ckwiki/index.php?title=Vorlage:ImDruckVerbergen
<http://www.ck-wissen.de/ckwiki/index.php?title=Vorlage:ImDruckVerbergen&dif
f=15672&oldid=15669> &diff=15672&oldid=15669

 

Now it is even worse, on some pages it seems to work and on some pages it
does not work. In a full PDF-book download it did not seem to work at all,
even if some single article PDF prints seem to render OK.

 

What should the content of the template “Exclude in print” 

 

http://www.ck-wissen.de/ckwiki/index.php/Vorlage:ImDruckVerbergen

 

exactly be, to be able to use this template within the article pages as we
used it before the change?  

 

Thank you very much for your help, best wishes!

Friedrich

 

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von
Volker Haas
Gesendet: Donnerstag, 6. Juni 2013 11:17
An: [email protected]
Betreff: [mwlib] Re: "Exclude in print" not working any more

 

Hi,

 

the "Exclude in Print" Category indeed does not work anymore. The reason is
that we recently changed the logic which renders templates. Essentially we
are now using the Wikipedia API to do that - this unfortunately breaks the
"exclude in print" functionality (and it won't be possible to make it work
again).

 

The following work-arounds should be used in the future:

For content that is not supposed to be included in the PDF use the css class
"noprint":

 

<div class="noprint">blub noprint</div>
 
For content that is only supposed to be visible in PDFs and not in the wiki
do the following:
 
<div class="onlyinprint">blub onlyinprint</div>
 
This css class is ignored by the PDF renderer and thus displayed normally in
the PDF. If you modify your Mediawiki css file to include
 
.onlyinprint {display: none}
 
the content will not be visible in the wiki.
 
I hope this solution works for you.
 
Best Regards,
Volker
 
 


On Sunday, June 2, 2013 11:48:15 PM UTC+2, Friedrich wrote:

There seems to be the same problem in Wikipedia.de, please see:

http://de.wikipedia.org/wiki/Kategorie:Vorlage:Vom_Druck_ausgeschlossen

... includes "Vorlage:Krünitz
<http://de.wikipedia.org/wiki/Vorlage:Kr%C3%BCnitz> " 

Test: http://de.wikipedia.org/wiki/Benutzer:Friedrich_K./Werkbank

Print result (PDF attached) includes the template "Vorlage:Krünitz
<http://de.wikipedia.org/wiki/Vorlage:Kr%C3%BCnitz> " which should not be
printed. 



Am Samstag, 1. Juni 2013 16:55:37 UTC+2 schrieb Friedrich:

Hello, 

why doesn't "Vom Druck ausschließen" / "Exclude in print" work any more,
everything which should be excluded from print is being printed in the PDF
and in the book (preview)?

Please see 

http://www.ck-wissen.de/ckwiki/index.php/Kategorie:Vom_Druck_ausschlie%C3%9F
en

and please help!

Regards,
Friedrich

-- 
You received this message because you are subscribed to a topic in the
Google Groups "mwlib" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mwlib/mdiqIWwH3RQ/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to
<mailto:[email protected]>
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to