Difference between revisions of "Wiki maintenance/Collections setup"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: ==Wiki Collections== See Help:Collections for information on how to use this extension. ===Modifications made to the MediaWiki install=== ====Changes to LocalSettings.php==== <sourc...)
 
Line 1: Line 1:
 +
__NOTOC__
 
==Wiki Collections==
 
==Wiki Collections==
  

Revision as of 12:22, 17 June 2008

Wiki Collections

See Help:Collections for information on how to use this extension.

Modifications made to the MediaWiki install

Changes to LocalSettings.php

require_once("$IP/extensions/Collection/Collection.php");
 
/** URL of PDF server */
$wgPDFServer = 'http://tools.pediapress.com/cgi-bin/pdfserver.py';
 
# $wgSharedBaseURL = 'http://wiki.services.openoffice.org/wiki/';

/** Namespace for "community collections" */
$wgCommunityCollectionNamespace = NS_MEDIAWIKI;
 
/** Maximum no. of articles in a collection */
$wgCollectionMaxArticles = 500;
 
/** License article */
$wgLicenseArticle = 'OpenOffice.org_Wiki:Copyrights';
 
/** Template blacklist article */
$wgPDFTemplateBlacklist = 'PDF Template Blacklist';

Changes made to OOoSkin.php

Added this code after the Toolbox div portlet in OOoSkin.php

<?php
  if(isset($GLOBALS['wgSpecialPages']['Collection'])) {
     Collection::printPortlet();
  }
?>

The Toolbox div portlet is identified by the label p-tb.

Personal tools