Geshi-Plugin (syntax highlighting) broken on kde wikis
Milian Wolff
mail at milianw.de
Thu Jul 16 12:37:08 UTC 2009
Milian Wolff, 16.07.2009:
> Hi all!
>
> Just noticed, that the GeSHi plugin, which does code highlighting, seems to
> be broken on the kde wikis.
>
> I had a look and if I see it correctly the plugin is missing quite some
> files. I'm not acquainted with Wiki plugins, but looking at this in
> GeshiCodeTag.php:
>
>
> $dir = dirname(__FILE__) . '/';
> $wgExtensionMessagesFiles['SyntaxHighlight_GeSHi'] = $dir .
> 'SyntaxHighlight_GeSHi.i18n.php';
> $wgAutoloadClasses['SyntaxHighlight_GeSHi'] = $dir .
> 'SyntaxHighlight_GeSHi.class.php';
>
> Both .php files referenced here do _not_ exist in
> public/mediawiki_sources/extensions (which is dirname(__FILE__) ).
>
> Has anyone messed with that folder? I remember that it all worked like a
> charm during our meeting after the LinuxTag.
>
> If no one can come up with a solution, I fear I have to reinstall the
> plugin. I've never administrated a MediaWiki yet, so if someone else could
> do that I'd appreciate that very much.
>
> PS: I'm not subscribed to kde-www, so keep me in CC.
>
> Thanks, cya
Ok all, I fixed it by putting an updated GeshiCodeTag.php file on the server.
Got the file from
http://www.mediawiki.org/wiki/Extension:GeSHiCodeTag
So, have a nice day.
PS: Maybe check the wiki if the pages get re-rendered automatically... If you
spot a page with faulty code part, just edit -> save it.
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kde-www/attachments/20090716/09170f45/attachment.sig>
More information about the kde-www
mailing list