On 06/10/2011 04:04 PM, Timo wrote:
Dear everybody,

who wrote nuwiki.py?
numerous people: http://code.pediapress.com/git/mwlib?p=mwlib;a=history;f=mwlib/nuwiki.py;h=1aeeca3e0076becb089bab06f2fec8d57c7041d4;hb=HEAD

In lines 39-45 the program tries to load
information from jsonfiles. I dont have those for my wiki.
Those json files are usually never exposed to the "user". And if I am not totally mistaken, the user should probably never poke around nuwiki.py.

Depending on the usecase you might want to create a wiki object from a zip file (I am totally guessing here). This would work like so:

from mwlib import wiki
w = wiki.makewiki('/path/to/zip/file.zip')

  Should any of
these json files contain information about the acticle names?
When I dont call mw-render with articlenames, the output will be empty.
Maybe somebody can try to help me find the reason? :)

I don't really understand what you are trying to do. But from earlier post I infer that some of the below assumptions might be true:

a) you are using mwlib in windows
b) you are trying to use cdb files as input to mw-render
c) you are trying to export to docbook

a) is not supported and b) and c) aren't actively maintained anymore. Therefore I can not really help you much at all, sorry.

Regards,
Volker


--
volker haas                 brainbot technologies ag
fon +49 6131 2116394        boppstraße 64
fax +49 6131 2116392        55118 mainz
[email protected]    http://www.brainbot.com/

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