Extension:LifeWebCore

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
LifeWeb Core

Release status:Extension status experimental

ImplementationTemplate:Extension#type Ajax
DescriptionTemplate:Extension#description Core libraries for LifeWeb
Author(s)Template:Extension#username LivingShadowtalk
Latest versionTemplate:Extension#version 0.0.1 (August 2013)
MediaWikiTemplate:Extension#mediawiki master
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GPLv2, others
Download
TagsTemplate:Extension#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' );
    
  • YesY 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";