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"
76.102.26.116 (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?

76.102.26.116 21:37, 31 January 2014 (UTC)

213.23.91.62 (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

3
איתי בריבוע (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.

91.217.119.254 (talkcontribs)

Did you add the line to LocalSettings.php?

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

Concerning: Text Overflow

1
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
Return to "SyntaxHighlighter" page.