Extension:LifeWebCore

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
LifeWeb Core
Release status: experimental
Implementation Ajax
Description Core libraries for LifeWeb
Author(s) LivingShadowtalk
Latest version 0.0.1 (August 2013)
MediaWiki master
Database changes No
License GPLv2, others
Download
Tags
library
Translate the LifeWebCore extension if it is available at translatewiki.net
Check usage and version matrix.

The LifeWebCore extension contains the JavaScript libraries required for LifeWeb. They are independent of the backend system providing the data (in this case, Wikibase); http://lifeweb.granjow.net/ runs a plain MySQL database without Mediawiki. This code can be downloaded here: git://granjow.net/maCode.git

The library consists of three main parts:

  • The Data Model that contains all required data types (Taxon, Question, Character, …)
  • The Filter which generates an identification key of the given data, and finally,
  • An Editor to edit the data.

Installation[edit]

  • Download and place the file(s) in a directory called LifeWebCore in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'LifeWebCore' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'LifeWebCore' );, you need to use:

require_once "$IP/extensions/LifeWebCore/LifeWebCore.php";