Talk:Embedding mind maps

From FreeMind

(Redirected from Talk:Embedded Mind Maps)
Jump to: navigation, search


How to download the Freemind Extension for MediaWiki

Where does it look for .mm files

I always get a Error: Mind Map file not found error and I've put the file everywhere I can think of.

Answer: [[]] --GunterS 06:00, 13 Feb 2007 (PST)

Where in the actual File system is it looking? Onefish 20:47, 25 Mar 2007 (PDT)

Hello, I have been trying to get the extension to work for over a week and still can't get past the "file not found" errors. I've tried all the following combinations, but none seem to work.

This is correct:


Can anyone think of what may be wrong? Permissions? Bad install? I've tried placing the mindmap in /wiki, /wiki/images, /wiki/extensions, etc. Please help! --HeroOfSpielburg 19:48, 15 Jul 2008 (PDT)

The files must be uploaded using wiki file upload page. DimitriPolivaev

Thank you, that was the problem. I was trying to use normal FTP instead of the upload page.--HeroOfSpielburg 23:23, 19 Jul 2008 (PDT)

This file contains HTML or script code that may be erroneously be interpreted by a web browser.

I have been trying to upload my mindmap file to my mediawiki.

I always get this error

This file contains HTML or script code that may be erroneously be interpreted by a web browser.

I have tried all the usual stuff, taking html out of the black list etc.

Mediawiki seems to be checking the content of the file and not allowing an upload.

Any help would be appreciated.



The html code it is complaining about was created by the comments attached to nodes. After deleting them all, I could upload to mediawiki and it seemed to work fine.

Is there any way to force mediawiki to accept those html comments?

See here. DimitriPolivaev


Jere 19:24, 10 Sep 2007 (PDT) Found a simple workaround that could be easily implemented. The Mediawiki SpecialUpload.php code does a scan of any text/ mime-type file looking for html or javascript code. It does an exact match on '<head, <body, <html, <img' tags so in the XML of the map I uploaded, I simply added a space between the < and the tag. Now it doesn't match and it allows the file to be uploaded. Unfortunately, if you re-edit the map and resave, or add other html tag data (images, comments, etc) you must manually re-edit. I haven't reviewed the source code yet (just got the proper download from CVS, not the HEAD) but it shouldn't be too hard to change to add spaces into the html tags.

Same thing for me with French version of Mediawiki. I had a root node formatted in html. When suppressing the rich formatting, it works (I don't really want to bypass security completely).1001nuits 00:15, 25 May 2008 (PDT)

I'm working with Ubuntu 8.10 using the Mediawiki for personal use ie. not served up on the web. I found that with uploads enabled, amending MimeMagic.php, and just implementing item 2. of the above link recommendation works around the problem. That is:

1. Enable uploads: in LocalSettings.php change $wgEnableUploads = true; //This allows uploads

2. In the file /includes/MimeMagic.php add "application/xml mm" under define('MM_WELL_KNOWN_MIME_TYPES' // This avoids the "file is corrupt or has incorrect extension error"

3. Finally, to avoid the "...HTML or script code ..." error, in the file /includes/SpecialUpload.php , comment-out this check:

               #check for htmlish code and javascript
               if( $this->detectScript ( $tmpfile, $mime ) ) {
                       return new WikiErrorMsg( 'uploadscripted' );

Caution! Caution: this completely disables detection of potentially harmful scripts that can be executed either on the webserver or in visitor's web browsers!

The result seems to work perfectly BUT you can't read any notes, you just get the outline.

Mike B

Ability to save mindmap back into mediawiki?

AtomOil 14:57, 20 Aug 2007 (PDT) I absolutely love freemind and am finding this mediawiki extension very useful indeed. I am a flash developer, so I have been thinking that adding to the plugin so that mindmaps could be edited on the wiki would be very handy indeed and having had a very brief look at the source I don't think it would take that long to develop (unless real life gets in the way). The only thing I am not sure about, is whether its possible to save a file back into mediawiki, or more to the point send some xml data from flash back into mediawiki. Does anyone have any ideas about this?

error when use freemind... Call to undefined function getmindmapflashoutput()

Can I hide the file location?

I have installed this wonderful extension on my site. You can check it out here. I was just wondering if it is possible to hind the name of the file and its location from top the page? Bobwicon 06:00, 2 Sep 2007 (PDT)

I have added an option "notitle", see the article page for more details. DimitriPolivaev

Is it possible to use a external mindmap file?

I am afraid not. DimitriPolivaev

User:echofloripa I'm trying to use the mindmap that I saved into subversion. I wouldn't like to keep it in wiki. Just like any other file that you save in the wiki or keep it somewhere else (in the repository preferably) it would be a lot better, so that the images could just be save all at once into the repository and the viewer would take the position of the mm file and get the images relative to that place. PS: sorry, not sure how i left that on the main page. I think i meant that I was getting that error when I tried to use an external mm file (http...)

So, after all this(I'm not sure I understood correctly) is there any way to include an external mindmap in wiki? Thanks --Mxhneo 16:54, 16 February 2011 (UTC)

Problem with adding Freemind extension to MediaWiki

I added extension to /extension dir, and 'mm' to LocalSettings.php, but MediaWiki still refuses to upload *.mm files - can anybody suggest what to do with that problem?

DimitriPolivaev 14:35, 22 Sep 2007 (PDT)

Problem embedding MindMap, "Flash plugin or Javascript are turned off. Activate both and reload to view the mindmap

I have done everything I can think of, and a search for this error bring up nothing. I have DLed the Flash and Javascript extensions and installed them even. Any help? -c.wrinn

I have resolved the above issue. Running on Debian, I had placed the freemind embed files in /usr/share/mediawiki-extensions to allow the enable and disable extensions scripts. Long story short, I put a symbollic link to the freemind folder in {wikiroot}/extensions and now the Applet is working. -c.wrinn

README References files not in the zip.

The install instructions in the README file say to copy freemindbrowser.jar, bola.jpg, bola4.gif, estrella.png, flashobject.js and visorFreemind.swf. None of these are in the zip file. Do I need to go to CVS to get them? Are they no longer needed?

--Vaccano 11:56, 4 Oct 2007 (PDT)

in the README file, it is referring to acquiring other packages, the Flash browser Freemind and the Java Freemind clients. Those files are in there. - c.wrinn

Auto Fit Feature Request

I don't know if it is possible, but it would be really nice to have a parameter that would be the same as clicking the "FIT" button in the flash viewer. That way a page will load in a viewable state for those who may not be as familiar with FreeMind flash viewer. --Vaccano 09:26, 11 Oct 2007 (PDT)

I researched this and the Flash Viewer does not have this functionality. I looked at the flash viewer code and it did not seem as if it would be too hard to add, but I don't have any flash editing tools. --Vaccano 13:42, 6 Feb 2008 (PST)

Mindmap of the wiki itself

I'd like to make a mindmap of the wiki itself, like (using pages, sections, subsections, links within a section) or by using categories, or even by using semantic data. Categories seems like the easiest approach right now.

For that I need to load an external php-file that dynamically generates a mindmap of the wiki. Could you point me in the right direction of what part of your code I have to change to be able to laod an external file? It could be an option of
or a different tag like
. Thanks. --Robert Buzink 14:34, 17 Oct 2007 (PDT)
It sounds great. Could you send me your php licensed as GPL? I would like to include it into the wiki extension. dpolivaev AT users . sourceforge . net DimitriPolivaev

Make a Wiki from the Mindmap

Hello, i'd like to the opposite as Dimitri. I want to create a wiki structed page based on a Mind Map. Is that possible?

I have a huge mind map, and now we need to fill each topic with some paragraphs and we want to use a wiki for this task.


It would be nice if this extension had some way of showing if new features had been added. Like a version number or something. Right now the only way to know is to remember what the source dates/versions were when you installed it and compare or to do a diff of the code. --Vaccano 08:42, 5 Nov 2007 (PST)


Please add the credits mentioned here. There also seems to be a minor problem, when you put the extension in another folder, since the extensions directory is hard-coded twice iirc. Thanks, --Flominator 00:47, 22 May 2008 (PDT)

I checked again:

98: $ref = "$wgScriptPath/extensions/freemind/flashwindow.php?";
101: $output = getMindMapFlashOutput($mm_title, $params, $flashContentCounter, $mm_height, "$wgScriptPath/extensions/freemind/");

The part $wgScriptPath/extensions/ should be removed in order to make this one work with different directories (e.g. global extension directory for multiple installations). --Flominator 23:08, 25 May 2008 (PDT)

White Screen in IE and FF

I installed the files linked in the describiton on mediawiki. When I type a wrong filename, the extension responses and gives an error. As soon everything is correct, the preview button ends in a white screen of nothing. What is it? Thanks! Btw, adding the hint about the upload problem of 'mm' to the readme would be nice. I am a newbie and the two discussion board irritated me…

PS: The new version of FreeMind looks great! --Jorgusch 18:11, 13 Jun 2008 (PDT)

Display the map in a separate page is not working

I upgraded to Mediawiki 1.15.1. Now displaying the map in a seperate page is not working any more. With Mediawiki version 1.11 it was o.k. I'm using the syntax


Anyone has a idea whats wrong? Anyone has already upgraded to MediaWiki 1.15.1 on Windows?

--Günter 10:45, 28 Jul 2009 (UTC)

I don't see my Mind Map

Hi every body ! Sorry for my english : i'm french... I've installed freemind extension in my mediawiki and upload my mm files using mediawiki upload page. Then, I try to embed my Map into a page using :


or <mm>[[]]</mm>

Result : just a link to

Does someone can tell what's wrong ?

--dsVolubilys 14:14, 2 Dec 2009 (UTC)

Problem with URL links in freemind map

Hi all

I have created a mindmap using Freemind as a topic homepage on our company Wiki site. I set up URL links to all the respective Wiki pages in Freemind and uploaded it onto our Wiki.

It looks great, so much better than a standard page of headings and links. The only problem I have is that when you click on one of the red arrow URL links on the mindmap for a particular page, it always opens up in a new window in my browser (Internet Explorer). I have set up quite a few links on my mindmap, so you can end up having many windows opened in IE which can be quite annoying.

Does anyone know of a way to get around this problem?

Many thanks IanB

Personal tools