Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: pauljclarke on February 17, 2008, 10:22:27 PM

Title: Mediawiki help needed - <addhtml>
Post by: pauljclarke on February 17, 2008, 10:22:27 PM
Hi,

I'd like to include another page that i've generated on my site, into mediawiki (that I'm running on same server). I've seen the details about using the <addhtml> tag on the mediawiki site but I can't find how to install the extension.!?

I've searched the site but can't get my head round it - has anyone got this to work - please basic guide would be of help.

Thanks

Paul  :?
Title: Re: Mediawiki help needed - <addhtml>
Post by: guest22 on February 17, 2008, 10:26:41 PM
I use http://www.mediawiki.org/wiki/Extension:Include to include content.

guest
Title: Re: Mediawiki help needed - <addhtml>
Post by: pauljclarke on February 18, 2008, 08:16:07 PM
Hi,

Followed details on page - include file in right place, added require_onec command but no joy.

I get a small "<" appear in the top left of all wiki pages and using the include command does not work.?

Were in the LocalSetting.php file did you include the require_once command - I put mine after the require_once"Defaults" line...

Thanks

Paul
Title: Re: Mediawiki help needed - <addhtml>
Post by: guest22 on February 18, 2008, 08:26:49 PM
Paul,

put it at the end of the localsettings.php and make sure you leave 1 blank line below the last line.

ps. you do have php 5 installed right (mandatory)? If not, first do this:

http://sme.firewall-services.com/spip.php?article46

guest
Title: Re: Mediawiki help needed - <addhtml>
Post by: pauljclarke on February 20, 2008, 08:31:02 PM
Hi,

I have followed the instructions as you commented above, but I am just getting blank pages on my Wiki.?

When I installed php5 I did the following:

Code: [Select]
<Directory /mediawiki>
       AddHandler php5-cgi .php
       Action php5-cgi /php5-cgi/php
</Directory>

However all I get is nothing when the 'require_one' line appears in the LocalSetting file under Media Wiki...??

Thanks

P :-(
Title: Re: Mediawiki help needed - <addhtml>
Post by: guest22 on February 20, 2008, 09:58:26 PM

Code: [Select]
<Directory /mediawiki>
       AddHandler php5-cgi .php
       Action php5-cgi /php5-cgi/php
</Directory>

<Directory /mediawiki> is NOT correct. If this is an Ibay, it should say:
<Directory /home/e-smith/files/ibays/mediawiki/html>

guest
Title: Re: Mediawiki help needed - <addhtml>
Post by: pauljclarke on February 20, 2008, 10:04:02 PM
Hi,

Media Wiki is installed as a option and is therefore located at /opt/mediawiki

Using either this option or the one I have now - dose not work.

Are you saying then that you have mediawiki located in a ibay on your machine?

P  :?