Fix syntaxhighlight

wiki
Pyjacpp 2026-07-05 13:59:28 +02:00
parent 7c859a2987
commit 26cb033960
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,9 @@ in
# For the PdfHandler extension
ghostscript
poppler-utils
# For the SyntaxHighlighting extension
python3Packages.pygments
];
services.phpfpm.pools.mediawiki.phpOptions = ''
@ -161,6 +164,9 @@ in
$wgPdftoText = '${pkgs.poppler-utils}/bin/pdftotext';
$wgScribuntoDefaultEngine = 'luasandbox';
# SyntaxHighlight extension
$wgPygmentizePath = '${pkgs.python3Packages.pygments}/bin/pygmentize';
# Custom Namespaces
define("NS_ARCHIVE", 3000);
define("NS_ARCHIVE_TALK", 3001);