Basically, anytime an alias is created or a wiki gets renamed, it potentially leaves wiki links that need to be updated to the new location. I've thought about this for a while, and unfortunately they can only be updated manually since we're dealing with language. Just doing a simple replacement could potentially leave an awkward or incorrect sentence in place.
I've started cleaning up these links, and I've already accumulated >2000 wiki edits after only going through a few years of aliases/renames (Wiki page report). This shows the amount of bad links that can build up over time
Period: 2017-03-28T00:00:00.000Z - 2017-03-29T00:00:00.000Z
|Orig Name||New Name||Alias/ Rename||Wikis to update|
|bunny ears gesture||bunny ears prank||Alias||(|
|nanashi (shirogane usagi) (0)||nanashi (ganesagi) (138)||Rename||(|
The following lists the particulars of each Change type along with any caveats.
These are detected when tag aliases get approved.
- Orig Name: Alias antecedent
- New Name: Alias consequent
100% straight-up. There is no ambiguities with this one. Every wiki link or pool name in Pages to Update should replace the Orig Name with the New Name
These are detected when wiki pages get renamed.
- Orig Name: Original wiki page name
- The number in parentheses indicates how many posts are tagged with the original wiki name.
- New Name: New wiki page name
- The number in parentheses indicates how many posts are tagged with the new wiki name.
There are some ambiguities with this one. If the change is legitimate, then it should be treated like an alias. However, some users recycle wiki pages, where the original name has nothing to do with the new name. Additionally, some times the posts tagged with the Orig Name haven't been switched over to the New Name, which can be seen by the numbers in parentheses. These cases will be indicated, even if there are no Pages to Update.
These are detected when one tag gets completely replaced by another. This is done by keeping a daily log of all active tags, and comparing one day with the previous day. All tags that were active previously but not currently are candidates. All tags added at the same time as the candidate tags are potential names for the replacement tag.
- Orig Name: Removed tag
- New Name: List of added tags
- The number in parentheses indicates how many post versions the removed tag has in common with the added tag
There are a lot more ambiguities with this one. Legitimate replacements are pretty straight forward, however depending on all the other tags changed by the tag gardener at the same time, there might be some noise in the New Name column that needs to be sorted through. Additionally, a tag removal instead of a replace might produce no legitimate new names, usually since it is an ambiguous tag that is no longer used. For these, a little detective work is necessary to determine the correct new name in the Pages to Update, or potentially removing those entries altogether.
These are detected when one a wiki page gets deleted
- Orig Name: The deleted wiki page's name
- New Name: Not used
There are some ambiguities with this one, but usually it means removing all instances of Orig Name. Additionally, there might be some posts still tagged with the old name that need to be cleaned up.
The goal would be to eventually hand something over to get implemented with Reportbooru/DanbooruBot so that the above data and the cleanup would not dependent on one person. It currently only does a day of aliases/renames, but there may not be enough changes for that so it could be changed to a week.
Unlike with my other report (topic #13112), I plan to create a new forum post for each new set of data. If it's desired, I could also mark out the wikis that have already been handled.
- (2017-08-31) Added an instructions section so that it's understood what all of the different columns and numbers mean.
Updated by BrokenEagle98