mirror of https://gitlab.crans.org/nounous/nixos
Fix syntaxhighlight
parent
7c859a2987
commit
26cb033960
|
|
@ -33,6 +33,9 @@ in
|
||||||
# For the PdfHandler extension
|
# For the PdfHandler extension
|
||||||
ghostscript
|
ghostscript
|
||||||
poppler-utils
|
poppler-utils
|
||||||
|
|
||||||
|
# For the SyntaxHighlighting extension
|
||||||
|
python3Packages.pygments
|
||||||
];
|
];
|
||||||
|
|
||||||
services.phpfpm.pools.mediawiki.phpOptions = ''
|
services.phpfpm.pools.mediawiki.phpOptions = ''
|
||||||
|
|
@ -161,6 +164,9 @@ in
|
||||||
$wgPdftoText = '${pkgs.poppler-utils}/bin/pdftotext';
|
$wgPdftoText = '${pkgs.poppler-utils}/bin/pdftotext';
|
||||||
$wgScribuntoDefaultEngine = 'luasandbox';
|
$wgScribuntoDefaultEngine = 'luasandbox';
|
||||||
|
|
||||||
|
# SyntaxHighlight extension
|
||||||
|
$wgPygmentizePath = '${pkgs.python3Packages.pygments}/bin/pygmentize';
|
||||||
|
|
||||||
# Custom Namespaces
|
# Custom Namespaces
|
||||||
define("NS_ARCHIVE", 3000);
|
define("NS_ARCHIVE", 3000);
|
||||||
define("NS_ARCHIVE_TALK", 3001);
|
define("NS_ARCHIVE_TALK", 3001);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue