Extension:RDFEditor

From MediaWiki.org
Jump to navigation Jump to search
This page is under construction

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

MediaWiki extensions manual
Crystal Clear action run.svg
RDF Editor
Release status: beta
Implementation Hook
Description Edit, validate (syntax and schema) and submit a XML/RDF document.
Author(s) Pierre Lindenbaum
Latest version 1.0 (2009-06-09)
MediaWiki Tested on 1.13.3
License No license specified
Download see below
Translate the RDFEditor extension if it is available at translatewiki.net
Check usage and version matrix.

Description[edit]

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


Installation[edit]

  • 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");

References[edit]