User talk:Nereo Preto

From Citizendium
Revision as of 01:16, 21 August 2007 by imported>Nereo Preto (delete archived discussion)
Jump to navigation Jump to search


Offline Mediawiki

Hi Nereo, that offline wiki editor I saw requires scripts to transfer the html to a browser, so it is technically quite challenging. I've been working through some of the other offline wiki installations, and there is one combination that one can install in about 15-30 mins, fully working (I've tried it). You'd need some space on a hard drive, 30+ megs, but if you wish I can walk through the setup with you and we can write it up as an article for a Citizendium help page. I am sure there will be many persons who would find it valuable, for different reasons, e.g. dial-up connection, expensive lines, mobile computer. If you are not comfortable with servers and php and all, then the working through step by step is the only way to go, and we are in similar time zones, so it should not be too disturbing (using a chat client). Let me know how you feel. --Christo Muller (Talk) 17:00, 18 February 2007 (CST)

Thanks a lot. I can't do it right now (trying to getting out of a flu, and I have very little time to stay connected), but I'll appear on your talk page as soon as I'll be back. Ciao. --Nereo Preto 07:48, 21 February 2007 (CST)
Here I am. I have now a internet connection at home, before I was mostly connecting from workplace, so I can spend much more time here (time which is needed: the connection is quite slow...). Let's do it: how can we do it technically? I'm not an expert of computers, but I suppose if you start with a written explanation I can at least try to install myself? Leave some hints here please... and thanks in advance! --Nereo Preto 12:32, 6 March 2007 (CST)

7 March 2007. OK. I've been out of town for a while for disability cases, but should be here home for a few weeks now. I'm assuming you work on a Windows machine. What you are going to do is install a Mediawiki which runs on an Apache webserver installation on your own machine. This is identical to what happens with Citizendium, except that the server and the browser talk directly through your machine, not via the internet. You have a choice of installing the server and the wiki on your hard drive, or you can put it on a USB drive and plug it in at any Windows machine where you happen to be (so you could carry all your work to and from work on the usb drive, and leave nothing on the machines themselves). The Swiss program is called Wiki-On-a-Stick (WOS). The website gives you the opportunity of selecting a collection of self-installing components which it compiles for you to download, and you unzip the download to install the software, make one change to a configuration file if you want to enable "uploads" of pictures, and it works just like that. What you need is

  1. the WOS program,
  2. the Apache server program,
  3. the ImageMagick program to be able to manipulate image sizes
  4. the database program (MySql server, different from Citizendium's PostgreSQL, but the same as Wikipedia's - you will not notice the difference),
  5. the PHP program, and
  6. the Mediawiki program.

Your main problem will be the download size - if you choose the full programs, the download is approx 27MB, if you choose the "SE" (special edition, I presume) versions, it comes to about 11MB. So go to http://www.chsoftware.net/en/useware/wosmixer/wosmixer.htm ; select the choice "I do not have a WOS Portable II Package and want to obtain a new package", and you will be taken to page 2, which gives you the options of what you wish to include in your download. You must have: Apache2 - ImageMagick - MySQL5 - PHP5 - MediaWiki. You can choose the full or SE versions. I have not had problems with the SEs, but have done only some basic tests. The full programs would work for anything you may wish to add later, but download times increase a lot.

What about the other choices? Well, some programs don't work well with PHP5, so then you may need PHP4 later on, but it is easy to add (download and click on php4.wos, the WOS program finds it and installs it). Drupal, Joomla, Mambo, Moodle, and OS_Commerce are website writing (Content management software) systems. PHPMyAdmin is used to organise or administrate your database, if you need to. TYPO3 and Wordpress are website blogging programs.

So select the components you want - I'd suggest the SE versions to begin with - and then click on "Download now" at the bottom. Once you have the download, unzip it to the directory which you want to run the program from (hard drive or USB drive), then click on wos.exe in that directory and it will install itself. After install, if you want to be able to "upload" pictures for articles, you will have to change one line in the file wos/www/mediawiki/LocalSettings.php ("$wgEnableUploads=" from "false" to "true"). Then click on wos.exe to start the server, using your own browser. The rest is like any internet browsing.

Let me know if something is too vague, or you get stuck somewhere. There are a lot of settings which one can change, but one leaves well alone to start with :-) --Christo Muller (Talk) 13:47, 7 March 2007 (CST)

I just downloaded and installed the WOS package. It seems to work fine at a first glance! I'll do some writing in the next days and let you know how well it goes on the long run. Then, if you want, we can lay down an article on it. I believe it might be useful to many users out there. But for now, MANY MANY THANKS!!! Ciao, --Nereo Preto 13:51, 8 March 2007 (CST)
Hi Nereo. Citizendium has the following extensions intalled: CategoryTree, CharInsert, Cite, EasyTimeline, Inputbox, ParserFunctions, and WikiHiero. Of these you can install CategoryTree, CharInsert, Cite, Inputbox, ParserFunctions, and WikiHeiro without much trouble. The extension you are looking for is “Cite”. To install, do the following, while WOS is not running:
  1. Go to the directory: <DriveOrDirectoryWhereYouInstalledWOS>\www\mediawiki\extensions
  2. Make a new directory called “cite”, so you have: <DriveOrDirectoryWhereYouInstalledWOS>\www\mediawiki\extensions\cite\
  3. Now RIGHT-click on the following link (you must be online) http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Cite/Cite.php?view=co and select “save link as” (or “save file as”), and browse to the <DriveOrDirectoryWhereYouInstalledWOS>\www\mediawiki\extensions\cite\ directory you created in (2). Save the file “cite.php” there.
  4. Do exactly the same RIGHT-click save with the file called “cite.i18n.php”, found at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Cite/Cite.i18n.php?view=co saving it in the same \www\extensions\cite\ directory as “cite.i18n.php”
  5. Now go to the directory <DriveOrDirectoryWhereYouInstalledWOS>\www\mediawiki\ and open the file “LocalSettings.php” in a text editor (it should be a Unicode UTF-8 capable editor, but for this specific file it does not matter, you can use Notepad – I use Context text editor).
  6. At the bottom of the file, BUT BEFORE THE “?>” LAST LINE, insert the following text in a new blank line:
require_once( "$IP/extensions/Cite/Cite.php" );
Save the LocalSettins.php file where you found it, and restart the server.
These instructions can be found at http://meta.wikimedia.org/wiki/Cite/Cite.php If you find you need others, let me know. Good luck! --Christo Muller (Talk) 16:21, 13 March 2007 (CDT)
Thanks Christo, I did it and now citations work fine. I'll work on some articles in this days as a test - I'll be back after posting. Ciao, --Nereo Preto 06:52, 16 March 2007 (CDT)

Images

If you wish to use images from IPCC reports, you can point me to the links for the images and I will see if they can be used of if they of such quality that we should seek permission, which I'd do.  —Stephen Ewen (Talk) 01:05, 3 August 2007 (CDT)

This link may be of use. Looking at their Front Matter page of the WGI report, however, they state, "This publication is in copyright. Subject to statutory exception and to the provisions of relevant collective licensing agreements, no reproduction of any part may take place without the written permission of Cambridge University Press."[1] Regardless of that, as I suggested in the global warming talk page, this Web site offers free images that pertain to the matter. Benjamin Seghers 09:13, 3 August 2007 (CDT)