Extension:RDFEditor

From MediaWiki.org

Jump to: navigation, search
This page is under construction

This extension is an applet-base alternate editor. It is used to edit a RDF/XML document.

         

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
RDF Editor

Release status: beta

Implementation  Hook
Description Edit, validate (syntax and schema) and submit a XML/RDF document.
Author(s)  Pierre Lindenbaum
Last Version  1.0 (2009-06-09)
MediaWiki  Tested on 1.13.3
License No license specified
Download see below

check usage (experimental)

[edit] Description

On opening, the java applet is opened, and the user write a XML/RDF document in a textarea.

RDFEditor01.jpg

The syntax of XML/RDF is checked. The document is also validated vs a schema localized in ${MW}/mwrdf/schema.rdf. If there is an error, a message is displayed and the 'Save Button' is disabled.

RDFEditor02.jpg

Once the document is saved, it is displayed as a <PRE> section. Categories are bound to "mwrdf/shema.rdf and are automatically added.

RDFEditor03.jpg

and the document can be retrieved with the Mediawiki API.

RDFEditor04.jpg


[edit] Installation

  • Install the java JRE (version > 1.6)
  • The MediaWiki API must be enabled for action=query
  • append the following code at the end of ${MW}/LocalSettings.php
 require_once("mwrdf/RDFEdit.php");

[edit] References