From 6804184cf10c69709a405b130a540f37e8f13148 Mon Sep 17 00:00:00 2001 From: ewin Date: Thu, 4 Sep 2025 23:08:02 -0400 Subject: [PATCH] update items without GT ID category name --- bin/add-gt-ids | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/add-gt-ids b/bin/add-gt-ids index d6817a4..f450704 100755 --- a/bin/add-gt-ids +++ b/bin/add-gt-ids @@ -35,8 +35,8 @@ const mw = await getMediawikiClient(); // TODO: update this to work with the new maintenance category hierarchy // Get pages in the "Missing internal ID" category from the main article namespace -const itemPagesWithoutGTIDs = await mw.listCategoryPages('Category:Missing internal ID', [0], +process.env.LIMIT || 500); -console.log('Processing', itemPagesWithoutGTIDs.length, 'item pages from [[Category:Missing internal ID]]\n'); +const itemPagesWithoutGTIDs = await mw.listCategoryPages('Category:Items with no internal ID specified', [0], +process.env.LIMIT || 500); +console.log('Processing', itemPagesWithoutGTIDs.length, 'item pages from [[Category:Items with no internal ID specified]]\n'); for (const page of itemPagesWithoutGTIDs) { const {title} = page;