Koozali.org: home of the SME Server

[Announce] MediaWiki for SME7.x

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] MediaWiki for SME7.x
« on: May 24, 2007, 02:28:23 PM »
to the community,
for the ease of installation a rpm package of MediaWiki for the SME Server 7.x is available at http://wiki.contribs.org/Mediawiki.
This package installs the popular wiki MediaWiki (like Wikipedia) into /opt.
You can start it with your browser with the URL http://MYSERVER/mediawiki.

Rgds.,
Dietmar

Offline skydivers

  • *
  • 178
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #1 on: May 24, 2007, 02:36:16 PM »
Quote from: "berdie"
to the community,
for the ease of installation a rpm package of MediaWiki for the SME Server 7.x is available at http://wiki.contribs.org/Mediawiki.
This package installs the popular wiki MediaWiki (like Wikipedia) into /opt.
You can start it with your browser with the URL http://MYSERVER/mediawiki.

Rgds.,
Dietmar


Thanx Berdie, you are developping some nice contribs lately. Keep up the good work.

Tried the install and it works  :D

Offline berdie

  • *
  • 237
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #2 on: September 07, 2007, 09:13:38 AM »
I have released a new version of my mediawiki contrib.
News:
- Support of short URL's
- The URL is now http://MYSERVER/wiki

It's available at http://wiki.contribs.org/Mediawiki

Dietmar

Offline dlj

  • *
  • 5
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #3 on: October 08, 2007, 12:00:24 PM »
Hi,
I am having a problem with this contrib (probably my fault, but I am getting confused)
What I have done:
Fresh install of SME 7.2 on my test system ( just an old PII 500MHz, with 128Meg RAM)
Installed the contrib - which all installed fine, upto the part where I point my browser at the wiki. http://192.168.0.113/wiki

I get a web page "Main Page - From Wiki" but it doesn't look quite right, it is just an old style web page, no frames, no navigation tabs, no images.
I was expecting a page like Wikipedia but with the SME logo - am I wrong here?
Quote
Main Page
From Wiki
Jump to: navigation, search

MediaWiki has been successfully installed.

Consult the User's Guide for information on using the wiki software.
[edit]
Getting started

    * Configuration settings list
    * MediaWiki FAQ
    * MediaWiki release mailing list

For using Mediawiki start your browser with the URL http://servername/mediawiki and logon with the user admin + password admin.

For security-reasons, change your admin-password after your first login !
[edit]
There is a link to "Log in / create Account" but this gives another page "Index.php - from Wiki" with the same sort of layout as the previous page. However it does not present any login fields.

I have tried this a couple of times with the same results.
I have tried going back to SME 7.0, and that gives the same results.
I have tried to install mediawiki directly ( ie not as a contrib) and I get as far as the configuration form and then I have some problems with MySql accounts and passwords ( This i can fix - but I don't want to :?)

Any suggestions on how to get the contrib working on my system would be gratefully received.
David

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [Announce] MediaWiki for SME7.x
« Reply #4 on: October 08, 2007, 06:11:19 PM »
The page you quoted tells you to go to /mediawiki instead of /wiki. Did you test that as well?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline dlj

  • *
  • 5
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #5 on: October 08, 2007, 07:24:21 PM »
Hi,

Yes I tried both http://MYSERVER/wiki and http://MYSERVER/mediawiki
http://MYSERVER/mediawiki - 404 page not found
http://MYSERVER/wiki - page as described in previous post

The first release of the contrib called for mediawiki, but the second release changed the url: see quote below

Quote
I have released a new version of my mediawiki contrib.
News:
- Support of short URL's
- The URL is now http://MYSERVER/wiki

I have been playing with the non-contrib version of mediawiki, and have resolved my Mysql issue ( this was only the unknown password for wikiuser). This installation works as expected, and has frames, and images, and all the other nice stuff :). I have hacked it about so that it uses the Mysql database that was created by the contrib. This indicates that the issue I am having with the contrib is not within the Mysql configuration/use.
This also indicates that my antique hardware is upto the job.

Regards,
David

Offline berdie

  • *
  • 237
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #6 on: October 08, 2007, 07:28:55 PM »
Hi David,

sorry for the not-working URL's. It was correct when testing this.
So I'm working on a solution to use short URL's again.

Greetings,
Dietmar

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [Announce] MediaWiki for SME7.x
« Reply #7 on: October 08, 2007, 07:31:13 PM »
Hi David,

sorry for the not-working URL's. It was correct when testing this.
So I'm working on a solution to use short URL's again.

Greetings,
Dietmar
Dietmar, perhaphs it is a good idea to get you contribs listed in the bugtracker. This will make it easier for people to report issues, problems and suggestions. And on top of that we have everything in a cental location and archived properly.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline berdie

  • *
  • 237
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #8 on: October 09, 2007, 07:12:04 AM »
Cactus,

yes, you're right. I have made that already but cannot find my bugs.  :-(
Maybe they are cancelled. Should I open new one's?

Greetings,
Dietmar

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [Announce] MediaWiki for SME7.x
« Reply #9 on: October 09, 2007, 09:13:51 AM »
Cactus,

yes, you're right. I have made that already but cannot find my bugs.  :-(
Maybe they are cancelled. Should I open new one's?

Greetings,
Dietmar
I can't find bugs for smeserver-mediawiki also, probably no bugs listed at the moment against this contrib. I guess the bugzilla maintainer has pointed the default assignee to be you, so if someone reports a bug against your contrib you should receive an e-mail.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cool34000

  • *
  • 339
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #10 on: October 10, 2007, 12:37:15 PM »
Hi all,

I just found and fixed the bug. I've send modified files to Berdie so he can modify his RPM.
For those you can't wait, here's the quick fix:

1) Edit /opt/mediawiki/LocalSettings.php
Modify the line
Code: [Select]
$wgScriptPath     = "/wiki";by this one
Code: [Select]
$wgScriptPath     = "/mediawiki";
2) Edit /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95mediawiki
Modify the first 2 lines
Code: [Select]
Alias /wiki   /opt/mediawiki/index.php
Alias /index.php  /opt/mediawiki/index.php
by this two lines
Code: [Select]
Alias /mediawiki /opt/mediawiki
Alias /wiki      /opt/mediawiki/index.php

3) Expand modifications and restart Apache
Code: [Select]
expand-template /etc/httpd/conf/httpd.conf && service httpd-e-smith restart


Images are back and URL is readable :-P
« Last Edit: October 10, 2007, 12:46:08 PM by cool34000 »

Offline dlj

  • *
  • 5
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #11 on: October 10, 2007, 10:48:37 PM »
Hi all
Followed cool43000s instructions and they have resolved my issues :).

Now I can get down to the serious business of adding some content.

Many thanks.
David

Offline berdie

  • *
  • 237
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #12 on: October 11, 2007, 07:27:45 AM »
Hi,

a new version is available at http://mirror.contribs.org/smeserver/contribs/dberteld/mediawiki/smeserver-mediawiki-1.6.10-4.noarch.rpm
Big thanks to Sylvain Gomez (Cool34000) who helped me to to improve this contrib with short URL's and automatic language detection.

Greetings,
Dietmar

Offline arne

  • *****
  • 1,116
  • +0/-4
Re: [Announce] MediaWiki for SME7.x
« Reply #13 on: October 12, 2007, 04:31:36 AM »
Hello and thanks a lot !

I installed and everything looks fine.

One question: Is it possible to install more then one wiki on one server ?

Could the web directory where it is installed be changed from /wiki to something else ?

(I am working at two different "books" that I host at the moment at a web hotel. As I dont feel sure about their backup and security system I would like to transfere copies or future originals to my home server.)

By the way do you know an easy way to make a backup of datas ?

Best reg Arne.
......

Offline cool34000

  • *
  • 339
  • +0/-0
Re: [Announce] MediaWiki for SME7.x
« Reply #14 on: October 12, 2007, 04:59:39 AM »
Hello and thanks a lot !

I installed and everything looks fine.

One question: Is it possible to install more then one wiki on one server ?

Could the web directory where it is installed be changed from /wiki to something else ?

(I am working at two different "books" that I host at the moment at a web hotel. As I dont feel sure about their backup and security system I would like to transfere copies or future originals to my home server.)

By the way do you know an easy way to make a backup of datas ?

Best reg Arne.
Yes it's possible to install multiples wiki, but there are multiples conditions :
- Not the same web address
- Not the same install folder
- Not the same aliases
- Not the same DB
In short, it's a new install!
If you can manage that then yes it could work

For your backups, look on the wiki, there's a backup contribs section
Take a look also here