Closed MirandaEcho closed 4 years ago
first one is done, and that's all I have left in me for today.
Shall I go ahead with this?
Yes please, thanks @benlk
What we can't do:
What we can do:
However, some "Uncategorized" posts have other categories assigned.
Borrowing from #95:
var count = 0;
tag = "Uncategorized";
for (const a of document.querySelectorAll(".column-categories")) {
if ( 0 === a.textContent.localeCompare(tag)) {
console.log([a.textContent, tag])
a.closest('tr').querySelector('.check-column input[type=checkbox]').checked = true;
count++;
}
}
console.log( 'tags needing merge on this page: ' + count );
This has been done in bulk: all posts that were formerly categorized as "Uncategorized" alone are now categorized as "Uncategorized" and "News"
The default category has been set to "News" and the "Uncategorized" category is deleted.