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%9Fen
>>
>> and please help!
>>
>> Regards,
>> Friedrich
>>
>

-- 
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