Hello While looking at a problem when calling mw-render to generate ODF I can see that odfwriter.py owriterImageLink is calling method getDiskPath from zipwiki.py which in turn fails to find image "Image:ImageName.png" in a filesystem... Can anybody help me with redirecting this request to I guess mwapidb.py so that image is fetched from mediawiki first before being red?
Or am I going in a wrong direction and I must always use mw-zip before calling mw-render? Thank you! P.S. This is the first time I'm looking into any python code so I could be missing something obvious. config file used when calling mw-render: [wiki] type = mwapi url = http://test-wiki.office.lan/ base_url = http://test-wiki.office.lan/ license = Wikipedia:GFDL username=myuser password=mypassword domain=MYDOMAIN [images] type = mwapi url = http://test-wiki.office.lan/ base_url = http://test-wiki.office.lan/ username=myuser password=mypassword domain=MYDOMAIN localpath = ~/Desktop/wiki/mwlib -- Tomas Straupis -- 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.
