Extension:LifeWebCore

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
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; code metrics

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 | edit source]

  • Download and extract the file(s) in a directory called LifeWebCore in your extensions/ folder. If you're a developer and this extension is in a Git repository, then instead you should clone the repository.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/LifeWebCore/LifeWebCore.php";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.