https://bugzilla.wikimedia.org/show_bug.cgi?id=33059

       Web browser: Mozilla Firefox 4.x
             Bug #: 33059
           Summary: failure to store Article with "<syntaxhighlight
                    lang="php">"
           Product: MediaWiki extensions
           Version: any
          Platform: Macintosh
               URL: http://www.mediawiki.org/wiki/Extension:SyntaxHighligh
                    t_GeSHi
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Highlight
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


I follow all of steps that there's here
(http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi) for installing
SyntaxHighlight GeSHi extension.

But, when I try to save an article, the system returns that:

Note: The article contains: <syntaxhighlight lang="php"> require_once(
"$IP/extensions/WikiEditor/WikiEditor.php" ); </syntaxhighlight>

"Fatal error: Call to undefined method ParserOutput::addModuleStyles() in
/www/mediawiki-1.17.0/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php
on line 108"

The line in question is that:

"if( $wgUseSiteCss ) {
   $parser->mOutput->addModuleStyles( 'ext.geshi.local' ); (Line 108)
}"

I could see that, in subversion, there was a change on November 20, 2011.
Perhaps this is why?

I wrote in LocalSettings.php " $wgUseSiteCss = false;" but, I do not know if
this is the best solution, or this will not cause other problems

thank you for your job

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to