Changes to MediaWiki

From DejaVuWiki

Jump to: navigation, search

Because SourceForge.net's web services are bit non-standard some changes had to be done.

PHP session sharing

Because web is served by pool of servers which does not share /tmp, PHP session must be stored in another location.

Following was added on top of LocalSettings.php:

# SF.net's web is distributed
session_save_path("/tmp/persistent/dejavu/sessions");

Directory /tmp/persistent/dejavu/sessions had to be created first and made world-writable (else webserver could not write to it).

For more information see SF.net Documentation.

SourceForge.net logo

SF.net wants the logo to be displayed on project's web pages (see SF.net Documentation).

For MediaWiki 1.4.x and 1.5.x:

The file skins/MonoBook.php was altered and reference to logo was added inside the

<?php if($this->data['poweredbyico']) { ?><div id="f-poweredbyico"><?php $this->html('poweredbyico') ?></div><?php } ?>

For MediaWiki 1.3.x:

The template xhtml_slim.pt was altered and reference to logo was added inside the

<div id="f-poweredbyico" tal:condition="poweredbyico">${poweredbyico}</div>

just before the Powered By logo.

Personal tools