Hi Johannes, Thank you for your reply. Following the instruction on the following URL 'http:// edutechwiki.unige.ch/en/ Mediawiki_collection_extension_installation#Collection_extension_installation' under the chapter 'mwlib installation on Ubuntu' - then I am uncertain on whether I should go into the sub-category 'Installing mwlib' or 'install mwlib.rl'. So I do both at this moment, therefore creating both the 'mwlib'- library and the 'mwlib-rl.new'-libary.
In the 'mwlib'-library I am not able to run the 'make'-command - I get the reply 'make: Nothing to be done for `default'.' but in the 'mwlib-rl.new'-libary, a lot of activity is happening when running 'make'-command. Should I remove one of the two libraries, or are the both needed ? standing in the 'mwlib-rl.new' I write the following: > sudo mw-serve and I get the reply "2010-07-23T14:28:41 mw-serve.info >> serving http on 0.0.0.0:8899 " Should the reply not be '127.0.0.1;8899' ? Running the command 'http://127.0.0.1:8899/' in the browser I can see that my mw-serve-process is getting the request. So the installation seems to be fine ..... I have done the following changes in my LocalSettings.php . - these are the only changes I have done regarding the extension 'Collection' require_once("$IP/extensions/Collection/Collection.php"); $wgCollectionFormats = array( 'rl' => 'PDF', 'odf' => 'ODT', ); $wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['user']['collectionsaveascommunitypage'] = true; $wgCollectionMWServeURL = "http://127.0.0.1:8899"; I cannot see any reference to the following variable in my LocalSettings.php -> $wgEnableApi = true , does not exist ( this variable you talk about in the readme.txt-file ) - I am able to 'create' a book in my wiki, I am able to finish my creation ( I see the pages increment ), I give my book a 'title' and a 'subtitle' choose whether I should use PDF or ODT. - I choose PDF in the dropdown-list. then pressing the 'Download' my browser goes to the page: http://localhost/mediawiki/index.php/Special:Book - the page is empty - and nothing more happens .... I cannot find my PDF-file anywhere ... and my mw-serve-process has not gotten any request. In the readme.txt you talk about the following .... is that a must ? Add a template [[Template:saved_book]] Choosing 'Download as PDF' -> the webbrowser points to 'http://localhost/mediawiki/index.php? title=Special:Book&bookcmd=render_article&arttitle=Servers&oldid=42&writer=rl' And the page is empty, no request to the server, and no PDF is created putting the '$wgEnableApi = true' into LocalSettings.php and saving the file does not change anything. Then my LocalSettings.php looks like the following: require_once("$IP/extensions/Collection/Collection.php"); $wgEnableWriteAPI = true; $wgCollectionFormats = array( 'rl' => 'PDF', 'odf' => 'ODT', ); $wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['user']['collectionsaveascommunitypage'] = true; $wgCollectionMWServeURL = "http://localhost:8899"; - ( here I changed the '127.0.0.1' to 'localhost' - does the order of the variables matter or is it ok in any-which-order ) What am I doing wrong here ? Best regards, Ink ps. Having python version 2.6.5 and perl version 5.10 ds. On Jul 23, 12:32 pm, Johannes Beigel <[email protected]> wrote: > On 23.07.2010, at 11:51, Mr.Ink wrote: > > > I would like to use my own server to do the rendering. > > I think that your readme.txt is not clear on the subject. > > I do not understand the following lines: > > See the ``mw-serve`` command or the ``mwlib.cgi`` script in the mwlib_ > > The whole README.txt is written in reStructured Text format, so the mwlib_ is > actually a link which can be found at the end of the document: > > .. _mwlib:http://code.pediapress.com/wiki/wiki/mwlib > > > - should I search the net on how to install those ? what commands are > > these ? are they PHP-scripts ? > > You could visit the webpage mentioned above, although the information might > be a bit outdated in some cases. > > > - would be nice if you are clear here, providing us with a step-by- > > step installation. > > The majority of people who use the Collection extension don't have the need > of an self-hosted render server. And as the README.txt already covers quite a > lot of stuff, I think adding installation instructions for a self-hosted > render server are not a good idea. > > > How do I get further, after downloading and inserting the 2 lines in > > Localsettings ? > > The quick installation guide would be: > > Make sure you have Python installed. > > $ easy_install mwlib > $ easy_install mwlib.rl > $ mw-serve > > You might want to read the output of mw-serve --help to see in with which > options you can start your server. > > -- Johannes Beigel -- 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.
