update items without GT ID category name
This commit is contained in:
parent
ef69ee4c9f
commit
6804184cf1
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue