From f4ba82ca6b6c8bf758df345d50c522321a079d6d Mon Sep 17 00:00:00 2001 From: Pyjacpp Date: Sat, 15 Aug 2026 17:11:49 +0200 Subject: [PATCH] Augmentation max category tree --- hosts/vm/mediakiwi/mediawiki.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/vm/mediakiwi/mediawiki.nix b/hosts/vm/mediakiwi/mediawiki.nix index 5883372..fcdc3c4 100644 --- a/hosts/vm/mediakiwi/mediawiki.nix +++ b/hosts/vm/mediakiwi/mediawiki.nix @@ -219,7 +219,8 @@ in $wgPdfInfo = '${pkgs.poppler-utils}/bin/pdfinfo'; $wgPdftoText = '${pkgs.poppler-utils}/bin/pdftotext'; $wgScribuntoDefaultEngine = 'luasandbox'; - + # 4 pour les catégories, 3 pour le reste https://www.mediawiki.org/wiki/Extension:CategoryTree + $wgCategoryTreeMaxDepth = [10 => 3, 20 => 3, 0 => 4, 100 => 3]; # SyntaxHighlight extension $wgPygmentizePath = '${pkgs.python3Packages.pygments}/bin/pygmentize';