MediaWiki-MarkdownExtraParser icon indicating copy to clipboard operation
MediaWiki-MarkdownExtraParser copied to clipboard

MarkdownExtra_Parser not found

Open silverpark opened this issue 10 years ago • 3 comments

There is an error about 'MarkdownExtra_Parser' :

Fatal error: Class 'MarkdownExtra_Parser' not found in C:\wamp\www\mediawiki-1.23.5\extensions\MarkdownExtraParser\MarkdownExtraParser.php on line 120

silverpark avatar Oct 30 '14 06:10 silverpark

Did you follow the installation steps carefully?

This library requires Michael Fortin's PHP Markdown Extra library. This is essentially an extension of it.

Rican7 avatar Oct 30 '14 07:10 Rican7

I've use this :

https://littoral.michelf.ca/code/php-markdown/php-markdown-1.0.2.zip

And I've add this :

require_once( "$IP/extensions/MarkdownSyntax/Michelf/Markdown.inc.php" ); require_once( "$IP/extensions/MarkdownSyntax/MarkdownSyntax.php" );

I've follow steps scrupulously, the new version mediawiki break your plugin ?

silverpark avatar Oct 30 '14 07:10 silverpark

Ohhhh. I see the problem. Michael's completely refactored a new version.

This library expects the "classic" library: https://littoral.michelf.ca/code/php-markdown/php-markdown-extra-1.2.8.zip

I'll have to update the readme.

Rican7 avatar Oct 30 '14 11:10 Rican7