|
Hello Volker, I am now using mwlib regularly, producing large PDF documents every day. Most of it is perfect, and even excellent. However I would like to report 2 problems. They are related to mwlib, mwlib.rl and the mw-render command. OS: Ubuntu 8.10 mwlib-0.9.2-py2.5-linux-i686 mwlib.ext-0.9.1-py2.5-linux-i686 mwlib.rl-0.9.1-py2.5 Mediawiki 1.12.0 Problem 1: mediawiki indentation not processed in PDF output The wiki source text contains lines like this: :<blockquote> ::''Pour mes enfants et leurs enfants, récursivement.'' </blockquote> The ':' chars are supposed to be translated into indentation effects. Indeed this happens as expected in the browser rendering. But in the PDG generated documents, the ':' are NOT interpreted. Instead they are displayed as visibel ':' chars. Problem 2 : mediawiki local variable substitution not processed in PDF output The wiki source text contains lines with vars of the form {{XMOD}}. The variables and substitution rules are defined in the LocalSettings.php file (in /etc/mediawiki/). This was realized according to the extension:variables documentation found on the web among mediawiki extensions. My LocalSettings.php file is joined. The critical code is in the last 50 lines. Indeed the substitution works fine in the browser rendering. But in the PDF generated documents, the substituable vars simply disappear ! The problem is present for my locally added vars, but it is not present for standard mediawiki vars like {{SERVER}} or {{PAGENAME}}. Please indicate me, Volker, (1) whether and when these problems are likely to be solved. (2) otherwise, where should the python code be extended or modified to solve these problems (by me ?!?). Best regards, Philippe --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
<<attachment: LocalSettings.php>>
