Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

FreeMind extension and Mediawiki 1.18.1

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


Guenter.Gratzer at abf

Feb 8, 2012, 5:07 AM

Post #1 of 3 (657 views)
Permalink
FreeMind extension and Mediawiki 1.18.1

Hello,

we use FreeMind extension with MediaWiki 1.16.2. which is working without a problem.

I tried the extension with MediaWiki 1.18.1 and I get the following error in the PHP error logfile:

PHP Fatal error: Class 'Image' not found in FreeMind.php on line 85

This is line 85:

$img = Image::newFromTitle($imageTitle);

It seems that the class Image doesn't exist anymore in MediaWiki 1.16.2. I didn't found it in den MediaWiki files.

The extension itself has not be changed since 2007, so I think no one will make it work for 1.16.2.

My questions to the experts:

∑ Is there any other extension which can open FreeMind Files in MediaWiki 1.16.2?

∑ Is someone using this extension with MediaWiki 1.16.2?

∑ Can someone tell me which class I can use instead of the Image class?

Thanks

GŁnter


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Guenter.Gratzer at abf

Feb 8, 2012, 8:37 AM

Post #2 of 3 (650 views)
Permalink
Re: FreeMind extension and Mediawiki 1.18.1 [In reply to]

Hello,

I modified the code and it's running now on my wiki. The modified code you will find here http://www.mediawiki.org/wiki/Extension_talk:FreeMind#Version_for_Mediawiki_1.18.1

GŁnter

-----Original Message-----
From: mediawiki-l-bounces [at] lists [mailto:mediawiki-l-bounces [at] lists] On Behalf Of GŁnter Gratzer
Sent: Wednesday, February 08, 2012 2:07 PM
To: mediawiki-l [at] lists
Subject: *****POSSIBLE SPAM***** [Mediawiki-l] FreeMind extension and Mediawiki 1.18.1

Hello,

we use FreeMind extension with MediaWiki 1.16.2. which is working without a problem.

I tried the extension with MediaWiki 1.18.1 and I get the following error in the PHP error logfile:

PHP Fatal error: Class 'Image' not found in FreeMind.php on line 85

This is line 85:

$img = Image::newFromTitle($imageTitle);

It seems that the class Image doesn't exist anymore in MediaWiki 1.16.2. I didn't found it in den MediaWiki files.

The extension itself has not be changed since 2007, so I think no one will make it work for 1.16.2.

My questions to the experts:

∑ Is there any other extension which can open FreeMind Files in MediaWiki 1.16.2?

∑ Is someone using this extension with MediaWiki 1.16.2?

∑ Can someone tell me which class I can use instead of the Image class?

Thanks

GŁnter


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


brion at pobox

Feb 8, 2012, 2:51 PM

Post #3 of 3 (642 views)
Permalink
Re: FreeMind extension and Mediawiki 1.18.1 [In reply to]

On Wed, Feb 8, 2012 at 5:07 AM, G√ľnter Gratzer <Guenter.Gratzer [at] abf>wrote:

> Hello,
>
> we use FreeMind extension with MediaWiki 1.16.2. which is working without
> a problem.
>
> I tried the extension with MediaWiki 1.18.1 and I get the following error
> in the PHP error logfile:
>
> PHP Fatal error: Class 'Image' not found in FreeMind.php on line 85
>
> This is line 85:
>
> $img = Image::newFromTitle($imageTitle);
>
> It seems that the class Image doesn't exist anymore in MediaWiki 1.16.2. I
> didn't found it in den MediaWiki files.
>
> The extension itself has not be changed since 2007, so I think no one will
> make it work for 1.16.2.
>
> My questions to the experts:
>
> · Is there any other extension which can open FreeMind Files in
> MediaWiki 1.16.2?
>
> · Is someone using this extension with MediaWiki 1.16.2?
>
> · Can someone tell me which class I can use instead of the Image
> class?
>


'Image' has been migrated over into the 'File' class, which is not 100%
compatible these days but takes over.

Try:

$img = wfFindFile($imageTitle);

-- brion
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.