On Nov 28, 2:22 pm, Johannes Beigel <[EMAIL PROTECTED]>
wrote:
> >> I'm using revision 43978 of Collection, and have populated
> >> MediaWiki:PDF_Template_Blacklist
> >> with templates that are to be ignored when exporting to PDF. I have
> >> used this format:
> >> [[Template:Article info]] which is a link to the template in  
> >> question.
>
> Are these links contained in a list on that page? That's a mandatory  
> format restriction. E.g. your page should look like this:
>
> * [[Template:one]]
> * [[Tempalte:two]]
>
> (Seehttp://en.wikibooks.org/wiki/Help:Collections#Excluding_templates)
>

Yes, they are links contained in a list.

> > I found the following in mw-render.log.rl: "2008-11-26T15:07:23  
> > mwlib.options.warn
> >>> WikiDB does not support setting a template blacklist".
>
> This can happen if a document is generated from an already existing  
> ZIP file (e.g. because you rendered the very same collection/article  
> in a different format of sent it to PediaPress). As long as you use  
> mwapidb (which is used by default by Collection extension + mw-serve +  
> mw-render), template blacklists should be work.
>
> -- Johannes

I thought maybe postresql could be the problem, since it mentioned
WikiDB?
But, the error does not appear when I render new articles.

After more testing, I have discovered that I'm able to render a PDF
from the openoffice wiki, they have blacklisting and they use mysql.

"mw-render --config=http://wiki.services.openoffice.org/w/ --template-
blacklist "PDF Template Blacklist" --template-exclusion-category
"Exclude in print" -w rl -o simple_types "Documentation/DevGuide/
ProUNO/Simple_Types"

PROGRESS: 35%
STATUS: fetching images
2008-11-27T14:19:26 mwapidb.info >> ignoring blacklisted template:
"u'Documentation/DevGuide/ProUNOTOC'"
2008-11-27T14:19:26 expander.warn >> no template "u'Documentation/
DevGuide/ProUNOTOC'"
2008-11-27T14:19:26 expander.warn >> no template "u'PDL1'"
2008-11-27T14:19:26 parser.info >> Parsing "u'Documentation/DevGuide/
ProUNO/Simple_Types'"
2008-11-27T14:19:26 parser.info >> assuming text in parseLink
('SINGLEQUOTE', u"'")"

Looking at this log, it obviously works with their site. Whenever I
try the same on our site, it does not work, and there are no entries
such as this: "2008-11-27T14:19:26 mwapidb.info >> ignoring
blacklisted template: "u'Documentation/DevGuide/ProUNOTOC'"". I have
made certain that our blacklist and the openffice wiki blacklist are
made in a similar way. I asked them about it, but they do not use
their own mw-server.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to