Koozali.org: home of the SME Server

Howto install Mediawiki 1.16.0 on SME8b6

Offline fpausp

  • *
  • 728
  • +0/-0
Howto install Mediawiki 1.16.0 on SME8b6
« on: January 06, 2011, 11:36:49 PM »
Hi all,

I made a howto for Mediawiki 1.16.0 on SME8b6, please try it out:

http://www.netztechnik.at/download/sme8/howto/mediawiki/howto-mediawiki.txt


Best
fpausp
Viribus unitis


Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #2 on: January 07, 2011, 08:22:49 AM »
Thanks, v0.2 of the howto with Mediawiki 1.16.1 is up.
Viribus unitis

Offline bloodshoteye

  • ****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #3 on: February 16, 2011, 09:46:05 AM »
Thanks, v0.2 of the howto with Mediawiki 1.16.1 is up.

Thanks for sharing your accurate, step by step instructions. It worked for me  :grin:

Cheers,
SME Server is a fantastic product - thank you!

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #4 on: February 16, 2011, 05:15:01 PM »
You're welcome. A new Version is up since 14.02.

Regards
Viribus unitis

Offline Gorfob

  • 2
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #5 on: February 17, 2011, 01:40:45 AM »
Worked flawlessly.

I wonder if you would mine adding instuctions on how to password protect the whole thing via .htacess or point me in the right direction? Im new to both linux and SME server.

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #6 on: February 17, 2011, 06:38:49 AM »
Viribus unitis

Offline Gorfob

  • 2
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #7 on: February 18, 2011, 03:13:41 AM »
Tried and failed. I do not get asked for a password I just get an unable to connect message. contents of an aditionl fragment of template. I also tried putting this into the mediawiki fragment as well. No dice.

Code: [Select]
<Directory /opt/mediawiki>
AuthUserFile /opt/mediawiki/.passwordfile
AuthGroupFile /dev/null
AuthName "Documentation Wiki"
AuthType Basic
<Limit GET>
order deny,allow
require valid-user
</Limit>
</Directory>

Offline fpausp

  • *
  • 728
  • +0/-0
Viribus unitis



Offline le pop etre

  • 7
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #11 on: August 21, 2011, 11:28:16 PM »
Google cached it luckily:
http://webcache.googleusercontent.com/search?q=cache:IkHMlZt9dqYJ:www.netztechnik.at/download/linux/sme/sme8/howto/mediawiki/howto-mediawiki.txt+http://www.netztechnik.at/download/linux/sme/sme8/howto/mediawiki/howto-mediawiki.txt&cd=1&hl=en&ct=clnk&gl=ca&source=www.google.ca

I pasted it into this wiki page http://wiki.contribs.org/Talk:Mediawiki

thank's for your reply.... on this link i can see :

"just install with :

yum install --enablerepo=smecontribs smeserver-mediawiki

"
why this package doesn't work ?

i'm a beginer in linux and sme server... don't expect too mutch from me.... but i can read and it doesn't work !

how do i do ? I've to type what is the howto (from the google cache ) row per row ?

Offline larieu

  • ****
  • 214
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #12 on: August 23, 2011, 10:52:57 AM »
to install the standard smeserver mediawki (v 1.6.10) it is quite easy
you'll need to set the repos as the wiki says

http://wiki.contribs.org/SME8.0_Contribs_QA

and then use only the new or both repo (it depends of the package - some of them has files in both)
your command should be like

Code: [Select]
yum install --enablerepo=smecontribs --enablerepo=sme7contribs smeserver-mediawiki

as an work around to have a newer version
I have managed to upgrade this to the next version using the wiki upgrade procedure - and seemed to work ok
download from
http://dumps.wikimedia.org/mediawiki/1.7/

Code: [Select]
cd /opt
wget http://dumps.wikimedia.org/mediawiki/1.7/mediawiki-1.7.3.tar.gz

(and install as per wiki  upgrade procedure)
just untar all files over the already created structure in /opt/mediawiki ( it is smart that always have a backup copy of everything you'll overwrite)

you can find some info "how to" here
http://www.mediawiki.org/wiki/Upgrade
or into the downloaded package

then change back ownership/permission to the folders and files
Code: [Select]
chown -R root:root /opt/mediawiki
chown root:www /opt/mediawiki/images
you'll need to have some sql user change (to upgrade the mediawiki user should have temporary rights to structure , create and alter)

this could be done by sql commands or by installing one plugin as phpmyadmin and change from web interface
http://wiki.contribs.org/PHPMyAdmin
(this is a clear example where you'll need both repos)

also you'll need to copy AdminSettings.sample into AdminSettings.php
Code: [Select]
cd /opt/mediawiki
cp AdminSettings.sample AdminSettings.php

and change credentials
Code: [Select]
$wgDBadminuser      = 'mediawikiuser';
$wgDBadminpassword  = '';

at the end upgrade with command
Code: [Select]
cd /opt/mediawiki
php maintenance/update.php

and change back your user rights (no structure rights to create and alter)
and delete the tar file

go to
https://yourserverip/wiki
into special pages version and you'll have
something like
Quote
    MediaWiki: 1.7.3
    PHP: 5.2.10 (apache2handler)
    MySQL: 5.0.77
    Extensions:
        Other:
            PWAuthPlugin (version 1.0), Automagic login with system accounts, using pwauth, by Nicholas Humfrey
        Parser extension tags:
            <pre>

if you'll try to go further ( v 1.8 ) the extension used to login users against sme (PWAuthPlugin) don't work any more
you can do it but any user will not be able to login - it will become a "frozen" wiki

I don't know if this "upgrade" is ok for 7.5 but worked every time I've tried on 8bx (don't remember exact versions)

I have some spare time and I have one sme8 into proxmox
I'll give a try to the previous guide (wiki 1.16) onto one "clean install" sme 8
I'll post back
« Last Edit: August 23, 2011, 10:54:46 AM by larieu »
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline le pop etre

  • 7
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #13 on: August 23, 2011, 02:15:07 PM »

I'll give a try to the previous guide (wiki 1.16) onto one "clean install" sme 8
I'll post back


So i wait for your post .... My project is simple, we are a small comunity on facebook, and we want to make a wiki on an mf radio (yes it till exist !!!) program.

it's about biological science and philosophia, ethyque, ... high level of french philosophia tradition.

thank's for your help...

Offline larieu

  • ****
  • 214
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #14 on: August 23, 2011, 03:25:08 PM »
it worked on clean install
but
- it is not linked to sme user system accounts - each user need to make another user :( probably need one extension as LDAP login)
- it has no "local/global" flavor into config (I must try the other type of installs - but into "straight" one is public and that's all )
if everybody's life around you is better, probably yours will be better
just try to improve their life