From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
Blue Glass Arrow.svg MediaWiki logo.png
This page should be moved to
Please do not move the page by hand. It will be imported by a administrator with the full edit history. In the meantime, you may continue to edit the page as normal.

On purpose to visualize the semantic content of MediaWiki, I wrote a WebService as a MediaWikiExtension. With this WebService it would be possible to create independent visualizations outside of MediaWiki with the technologie of your choice. The WebService proposes the semantic net content of MediaWiki through tree m├ędthods:

1) getTopicNames()

This method returns the different topic names of the MediaWiki plateform. Topics can be of different types: existing or wanted category, existing or wanted article, author, image. The methode returns an array : (topicTypeName => array(array(name, url))).

2) getTopicLinkage($term)

This method returns an array with the topic name, his type, the number of links to this topic, the URL and an array with all links from this topic to other topics (each link is an array(name, type, url)) types can be: existing or wanted category, existing or wanted article, author, image. If no topic matches to the term sent, NULL is returned.

3) getTopicMap()

This method returns the semantic content of the MediaWiki platform in XTM (Topic Maps) standardised format. You can read the returned topic map with applications like TMNav and TMBrows from or Omnigator from The returned topic map file is an XML file respecting the XTM dtd with the extension "xtm".

MediaWiki-WebService uses the NuSOAP library: NuSoap

You can get the WebService Package here: SemanticWiki

An example of a WebService-Client you will find here: WebService-Client