May 22, 2012, Tuesday, 142

Help:Installation SVNAddImage

From SwissExperiment

Installation SVNAddImage
Jump to: navigation, search

SVNAddImage

Contents

This functionality is to provide a workaround for the wiki's limitation in supporting upload of large image (or other similar) files.

Added Files

brieflist.php

path: wiki_path/websvn/

SpecialAddFromSVN

path: wiki_path/includes/

Modified Files

LocalSettings.php

Define the following new namespace for the SVN image files (the following is an example). Give the numbers according to your wiki.

define('NS_SVNIMAGE', 128);
define('NS_SVNIMAGE_TALK', 129);

Also, the following addition for the SpecialAddFromSVN

$wgSpecialPages['AddFromSVN'] = array('SpecialPage', 'AddFromSVN');
include_once('includes/SpecialAddFromSVN.php');

MessagesEn.php

Of course, every time we have new messages, we add it to the Messages file, English messages mostly, that go into MessagesEn.php


'addfromsvn' => 'Add Image From SVN'