Extension talk:SyntaxHighlighter

About this board

Eloy (talkcontribs)

This extension have 3 problems when used in a template:

  1. Did not recognized the langs in the template, even copying the example.
  2. There is no way to pass a parameters, except with magic word {{#tag:source}}. It should be nice to include a preprocess="true" tag, in order to do so.
  3. I can't find a way to leave the tag open, or use <includeonly> or <noinclude> with it (it did not recognize it).
Reply to "Wrong in templates" (talkcontribs)

I'm testing with the example, using javascript. And it doesn't have any coloring at all. All it does is surround the text in a dotted line box. There are no php errors (i have errors displayed). Are there dependencies that aren't listed? 21:37, 31 January 2014 (UTC) (talkcontribs)

I had the same problem.

The fix is, to remove the extra one SyntaxHighlighter (boldface in snippet below) while building the $directory variable in 'SyntaxHighlighter.php' in function addHeadItems() somewhere about line 137.

if( count($this->mSyntaxList) > 0 ) {
global $wgScriptPath;
$directory = $wgScriptPath.'/extensions/SyntaxHighlighter';
$scriptTxt = "\n\r";
Reply to "Doesn't color code"

Problem at this ext. installtion

איתי בריבוע (talkcontribs)

Hey. I have been create a wiki. Before the installtion, I put this extension in the extensions' folder. Now , when I run a code in my wiki, it's does'nt show! tnx for any help. You can see my wiki (in Hebrew) here. (talkcontribs)

Did you add the line to LocalSettings.php?

איתי בריבוע (talkcontribs)
Reply to "Problem at this ext. installtion"
Habatchii (talkcontribs)

I have been wondering how to stop text overflow which usually breaks all table setting and overlaps into the CSS. I have tried miscellaneous wrapper markup but none have worked.

My Question: Is there a text wrapper feature that stops overflow that I am missing?

Reply to "Concerning: Text Overflow"
There are no older topics