Last modified: 2007-08-02 06:13:00 UTC
Created attachment 3965 [details]
First try at including the CSS in the Wiki page.
The line in SyntaxHighlight_GeSHi.php:
$wgHooks['ShowRawCssJs'] = 'SyntaxHighlight_GeSHi::viewHook';
no longer works (at least in MediaWiki 1.10) to include the CSS in the resulting Wiki page. The result is that the span tags are inserted correctly into the page, but no CSS style information is included.
1. The `ShowRawCssJs` hook has never existed in the 1.10 branch
2. This hook is nothing to do with the parser hook which deals with the <source> tag
3. CSS isn't embedded into the page at the parser output location, but rather, passed to the ParserOutput as a "head item" (concept introduced in 1.10) which is then passed to the OutputPage when the page is viewed