Difference between revisions of "Wiki Configuration Notes"

From OSIS Open Source Identity Systems
Jump to: navigation, search
m (1 revision(s))
Line 38: Line 38:
 
Test Link to see how cool SimpleForms are:  [[Template:Catlist]]
 
Test Link to see how cool SimpleForms are:  [[Template:Catlist]]
 
So Far I must conclude that the mediawiki simple forms extension is useless.  Most of the examples are broken.
 
So Far I must conclude that the mediawiki simple forms extension is useless.  Most of the examples are broken.
 
=== Talkright ===
 
* an abortive attempt to make a simple forms example work.  Arrrgh!
 
  
 
=== Pages on Demand ===
 
=== Pages on Demand ===
 
Source:  http://www.mediawiki.org/wiki/Extension:PagesOnDemand
 
Source:  http://www.mediawiki.org/wiki/Extension:PagesOnDemand
  
=== Semantic Forms ==
 
http://semantic-mediawiki.org
 
  
  

Revision as of 20:29, 7 February 2008

Extensions

CategoryTree

Source: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/CategoryTree

LocalSettings Changes: (note, add the 1st line and then refresh a page & add the 2nd, otherwise the + - doesn't work properly)

$wgUseAjax = true;
require_once( "{$IP}/extensions/CategoryTree/CategoryTree.php" );

Parser Functions

Source: http://meta.wikimedia.org/wiki/ParserFunctions#Installation Pre-requisites: DPL Catlist template requires Simple Forms Extension (listed below)

VariablesExtension Extension

Source: http://www.mediawiki.org/wiki/Extension:VariablesExtension

  • this appears to be a prerequisite for DocTypes in DPL

StringFunctions Extension

Source: http://www.mediawiki.org/wiki/Extension:StringFunctions

  • this also appears to be a prerequisite for DocTypes in DPL (#replace: function is used in some template inherited in DT Article Header)

Dynamic Page Lists

Source: http://www.mediawiki.org/wiki/Extension:DynamicPageList

1. Exported DocType pages from the DPL Website 
:(explained here: http://semeb.com/dpldemo/index.php?title=Category:DocTypeScript)
2. Looks like there is a css page too, not sure where to put it yet, see link above for instructions on getting the css code.
3. DPL Installation instructions:
:http://semeb.com/dpldemo/index.php?title=DPL:Installation
4. DocTypeScripts:  Category:DocTypeScript

Simple Forms

Source: http://www.mediawiki.org/wiki/Extension:Simple_Forms

Note that the download link is not ACTUALLY a download link, ie if you click and saveAs, you will get a file called Extension_SimpleForms.php when what you really want to do is actually click on the link and then copy the resulting php code directly into a file called SimpleForms.php...

Test Link to see how cool SimpleForms are: Template:Catlist So Far I must conclude that the mediawiki simple forms extension is useless. Most of the examples are broken.

Pages on Demand

Source: http://www.mediawiki.org/wiki/Extension:PagesOnDemand



Templates

<categorytree mode=pages>Interop templates</categorytree>

Short URLs

Source: http://wiki.dreamhost.com/Mediawiki#If_your_wiki_is_install_under_a_.22www..22_subdomain


NameSpace Configuration

Currently Figured:

  • Namespace I3
  • Alias Current (points to I3)

Base Configuration

# -- Custom Namespaces
#    - add to the first array to define a new interop namespace
#    - alter the 2nd array to change the "current" interop
$wgExtraNamespaces = array(
                100 => "I3",
                101 => "I3_Discussion",
        );
$wgNamespaceAliases = array(
                'Current' => 100,
        );
$wgNamespacesToBeSearchedDefault += array(
                100               => 1,
                101               => 1
        );