From b9e24841ae5accd3b2602dfe22b634e51ac5e65c Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 24 Feb 2023 09:26:19 -0500
Subject: [PATCH] build_categories: whoops, forgot to update some function
calls.
---
build_categories.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build_categories.php b/build_categories.php
index 4d9c835..ce4620e 100755
--- a/build_categories.php
+++ b/build_categories.php
@@ -177,13 +177,13 @@ function handle_subdir($dname)
//print("LINE: [" . trim($line) . "]\n");
if (trim($line) == '----') { // the footer? Just stuff the list before it, oh well.
if (!$wrote_list) {
- write_category_list($out, $pages);
+ write_category_list($out, $pages, $ismediawiki);
$wrote_list = true;
}
fputs($out, "----\n");
} else if (trim($line) == '<!-- BEGIN CATEGORY LIST -->') {
if (!$wrote_list) {
- write_category_list($out, $pages);
+ write_category_list($out, $pages, $ismediawiki);
$wrote_list = true;
}
while (($line = fgets($in)) !== false) {