Jump to content

Recommended Posts

Posted

Hello everybody,

 

I just installed Mediawiki 1.26 on my brand new stevie and nearly everythings fine. The only thing is that I do not get the syntax highlighting working. I did like I was told here (https://www.mediawiki.org/wiki/Extension:SyntaxHighlight):

 

- Downloaded the files, unzipped them and put them in the extensions/SyntaxHighlight_GeSHi in my wiki folder (already existed, renamed it and replaces it by the new one)

- Added wfLoadExtension( 'SyntaxHighlight_GeSHi' ); at the end of my localsettings.php

-Tried:

 

<syntaxhighlight lang="python" line="1" >

def quickSort(arr): less = [] pivotList = [] more = [] if len(arr) <= 1: return arr else: pass</syntaxhighlight>

But all he does is telling my that this article is under the category: Articles with syntax highlighting error.

 

I would appreciate any help!

 

Thanks Rudi!

Posted

Mediawiki is partially incompatible with our servers.

 

We have a few others who use it, but I'm not one of them, so I'm not sure whether this is one of the things that doesn't work.

  • Like 1
Posted

@Wolstech: Ah, ok, thanks. Which wiki do you use/ which is more compatible?

 

Anyone who uses Mediawiki as well can tell me if highlighting is not supported or if I am doing something wrong?

 

Thanks!

Posted

The only other user I know of who both uses it and posts here is paladox2014, one of our regular users. Haven't seen him around lately though...

 

Based on this: https://www.mediawiki.org/wiki/Manual:Installation_requirements

 

Mediawiki should (mostly) work...it's the things that need either SSH (maintenance scripts/upgrades) or special server features that are incompatible. We meet the requirements for the main functionality. We do not provide any of the optional items except for ImageMagick and sendmail. Also, the VisualEditor and Scribunto extensions for MediaWiki are not supported.

  • Like 1
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...