Extension:WikiMindMap

This is an extension to add a Special:Wikimindmap page to MediaWiki, to view Mind Map of an wiki article. It is proposed by Eric Larcher. It's based on the tools from www.wikimindmap.org, plus the code of Special:Search, and the API of MediaWiki 1.12.

Be carefull
For the moment - 10:15, 7 April 2008 (UTC) - this extension is under development and so is not really operational.

Javascript script calling
First, I have a big problem because I don't know how to run a javascript script which call an flash object inside a Special Page. So, for the moment, for development and testing purposes, this extension call a html page outside the wiki.
 * Solved using Extension:Gadgets.--Eric Larcher 18:16, 7 April 2008 (UTC)

API used
Second, my own wiki is still base on Mediawiki 1.11. So it don't use the good API. Due to that, to be able to test the code, the extension, for the moment, calls pages of the french wikipedia.

others known minors threads
There is some others minors bugs and work to do :
 * 1) Problems with accentuated characters;
 * 2) Extend the Map Mind view to page links outside the main namespace (very easy to do);
 * 3) Give in the Map Mind abstract of each wiki linked page (easy to do after solving problems 1  and 2);
 * 4) I have too, to document the code !!!
 * 5) In the internationalisation file, there is only translation for french.
 * 6) After solving 1, It seems :
 * Having to open the Min Map in an different windows than the WikiMindMap Search windows.


 * 1) Problem with the 'bring to center' functionality
 * 2) Change the "Search Result message"

How it run

 * 1) The user has to go to the Special:Wikimindmap page. This page looks like the Special:Search page.
 * 2) The user give a term to search. Eventually modify the list of the namespaces to explore.
 * 3) The user validate his choice.
 * 4) If the term correspond exactly to a page name, the extension display the Mind Map of this page. This Map shows sections structure, page links in the main namespace, external links, category links, lang(uage) links, image page links and external links. A click on a wiki page node bring it to the center and develop his own Mind Map. Even if it's a lang link.
 * 5) If there is no page which correspond exactly to term, the extension display a list of pages in relation to the term.
 * 6) After the user click on the name of one of those pages, the extension display   the Mind Map of the selected page.

To see the prototype in action

 * 1) Click on [this link]to go to the Special:WikiMindMap page of ericlarcher.fr.
 * 2) Enter some selection :
 * for example, "aa" give nothing (too short expression)
 * "Albert Einstein" go directly to the MindMap of this page (the page of the french wikipedia - see API use)
 * "Analyse" give first name pages in relation with this term. And after clicking on the name of one of those pages, the extension display the Mind Map of the corresponding page in the french wikipedia. Remark : if the selection is "Infogestion", the map is empty ; it's because there is no page about Infogestion in Wikipedia.

Ask for debugging help
Does someone can help me to solve my Javascript script calling problem ???

If you want to to that, you can download the files (see the infobox for download links), and install the extension on a mediawiki site.

The incriminated function is wmmOutput  in Wikimindmap_body.php

To avoid the problem, I put the Mind Map call rendering in a page outside the wiki (http://wikidraw.ericlarcher.fr on my site). This page is build by the index.php file of the package.
 * Done. --Eric Larcher 21:40, 8 April 2008 (UTC)

There is still need for help (See others threads).

Installation

 * 1) Download WikiMindMap.zip (see the infobox for download links), and unzip this archive. Copy the directory 'WikiMindMap' in your 'extensions directory.
 * 2) Add the following sentence to your LocalSettings.php, somewhere near the bottom:
 * 3) Under the previous line, you have to specifie who can use Special:WikiMindMap.
 * If you want that anybody can use it:


 * If you want that only sysop can use it:


 * If you want an additional user group, for example bureaucrats add:

Sites using this extension

 * ericlarcher.fr