diff src/reformat_wizards.php @ 2763:78ad0e51b7b5

Improve wizards.txt parser, add functionality for specifying alternative / additional names as some wizards have used more than one. Also other improvements in wizard data handling.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 12 Mar 2024 15:47:58 +0200
parents ee898a9344e7
children 6dcd2aaeee9b
line wrap: on
line diff
--- a/src/reformat_wizards.php	Mon Mar 11 15:11:16 2024 +0200
+++ b/src/reformat_wizards.php	Tue Mar 12 15:47:58 2024 +0200
@@ -38,7 +38,7 @@
     // Output each entry in this category
     foreach ($cat as $name => $data)
     {
-      $str = $name.";".
+      $str = implode("|", $data["names"]).";".
         (isset($data["countries"]) ? implode("|", $data["countries"]) : "").";".
         (isset($data["homeURL"]) ? $data["homeURL"] : "").";".
         (isset($data["imageURL"]) ? $data["imageURL"] : "").";";