[Mediawiki-l] filelink-extension

McHale, Nina Nina.McHale at ucdenver.edu
Thu Jul 2 21:10:10 UTC 2009


Hey, all,

Am trying to get the FileLink extension to work with no success. I also installed FCKeditor earlier today; do they play nicely together?

Anyway, here's what I have in LocalSettings.php as far as customizations-thanks in advance for help/advice (oh, I'm open to comments about other things we've customized, too):


# Changes made to LocalSettings.php:

# Added several file formats to upload array, April 23 2009

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx' );

# Require users to log in before editing and viewing, April 23 2009

$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;

# Link to Auraria Library logo and favicon, April 27 2009

$wgLogo = '/wiki/images/0/09/Intranetlogo.png';
#$wgFavicon = '/images/0/09/Intranetlogo.png';

# Added single sign on with Josh Gimer, method at http://www.mollerus.net/tom/blog/2008/09/single_signon_to_mediawiki_113_using_active_direct.html, May 19 2009

require_once('includes/Auth_remoteuser.php');
$wgAuth = new Auth_remoteuser();

# Added FCK editor per instructions from Dave Hodgins, UCCS, July 2 2009

include("extensions/FCKeditor/FCKeditor.php");

# Added FileLink Extension, http://assela.pathirana.net, July 2 2009-not working...

$wgFilelinkExtensionPath = "extensions/FileLinkExtension";
include("$IP/$wgFilelinkExtensionPath/FileLinkExtension.php");

$wgUrlProtocols[] = "file:";

$wgUrlProtocols = array(
 'http://',
 'https://',
 'file://',
 'mailto:',
 );

array_push( $wgUrlProtocols, "file://" );


# End customizations to LocalSettings.php


Nina McHale, MA/MSLS
Assistant Professor, Web Librarian
Auraria Library
http://library.auraria.edu/~nmchale/
Facebook<http://www.facebook.com/profile.php?id=672599042>
Twitter: ninermac
Serving the University of Colorado Denver,
Metropolitan State College of Denver,
and the Community College of Denver
1100 Lawrence Street
Denver, CO 80204
303-556-4729



More information about the MediaWiki-l mailing list