On my localhost I started 4 new topics, the first two “ninja deleted”, using the post wrench on one and the topic wrench on the other.
I’m leaving the second two to try deleting after a hopefully sufficient delay to see if things are different after Jobs have a chance to run
Indeed, there is no record of the deletions in the Staff Logs.
Neither “newtaga” nor “newtagb” show in the /tags page.
And when another member tried to create another “newtaga” tag, it was “not found” and could not be created.
Running SELECT * FROM tags
shows the tags still exist in the tags table.
id name topic_count created_at updated_at
3 project 2 2016-06-04 23:41:05.143569 2016-06-04 23:41:05.143569
4 shelved 3 2016-06-04 23:41:05.146382 2016-06-04 23:41:05.146382
1 data_explorer 2 2016-06-04 23:41:05.130565 2016-06-04 23:41:05.130565
2 core 9 2016-06-04 23:41:05.141164 2016-06-04 23:41:05.141164
5 newtaga 1 2016-10-18 19:19:09.921612 2016-10-18 19:19:09.921612
6 newtagb 1 2016-10-18 19:22:04.011328 2016-10-18 19:22:04.011328
7 newtagd 1 2016-10-18 19:25:45.883148 2016-10-18 19:25:45.883148
8 newtagc 1 2016-10-18 19:28:05.605267 2016-10-18 19:28:05.605267
I haven’t looked into what code is involved, and I haven’t tested my hunch yet. but I’m guessing that if the tag is title edited away before the topic is deleted it could be reused.
EDIT
Yes, editing the topic title to remove a tag before deleting the topic keeps the created (and unused) tag available for use
But it doesn’t show on the /tags page