'How to enable the SyntaxHighlight extension after installed?

I have a fresh Mediawiki (v1.33) installed into fresh UBUNTU 18 LTS... The ''SyntaxHighlight'' extension is not working, the effect is like a code into <pre> tags.

At mediawiki.org/list there are no clues. I used the syntax_highlighting checkbox during Mediawiki installation, and I can see it at Especial:Version page as "SyntaxHighlight 2.0", so, it is installed... But is not working.


NOTES AND TESTS

Notes.

  • It is a corporative Wiki, no way to offer public URL... But it is a fresh, standard and controlled installation, all reproductive and standard.

  • The Wiki was configured with skin "Vector" and language "Brazilian Portuguese".

Tests.

  1. Usage tests of mediawiki.org/Extension:SyntaxHighlight, the Python example.

    1.1. With tag <syntaxhighlight>. Result: no highlight, same as <pre>.

    1.2. With tag <source>. Result: no highlight, same as <pre>.

  2. PHP example, fragment from wikipedia.org/PHP Syntax.

    2.1. With tag <syntaxhighlight>. Result: no highlight, same as <pre>.

    2.2. With tag <source>. Result: no highlight, same as <pre>.

The code fragments used in the tests:

def quickSort(arr):
    less = []
    pivotList = []
    more = []
    if len(arr) <= 1:
        return arr
    else:
        pass
<title>PHP "Hello, World!" program</title>
<?php echo '<p>Hello World</p>'; ?>

NOTE2: IT IS NOT A DUPLICATE

This question is similar but not same as this other one: here is about the basic "Hello World" of the extension, for any lang, and the other is about an specific lang installation. We need to solver first here, them, solve the other.



Solution 1:[1]

That is because syntaxhighlight in >MediaWiki 1.31 requires Python. [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Installation][1] Besides I am looking for how to install python in a2hosted.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 LCW