AO3: [Wrangling] Bulk-Manage Tags for Clean-Up Projects

Mass-select tags in the bin and set/unset the unwrangleable flag, replace fandoms, or remove 0-use syns

Author
escctrl
Daily installs
0
Total installs
63
Ratings
0 0 0
Version
4.2
Created
2022-07-26
Updated
2023-11-07
License
MIT
Applies to

Purpose: easier management of tags during a project, such as:

  • Any bin: Replacing the current fandom(s) on a tag with other fandoms, e.g. when megafandoms collect certain types of tags in certain subfandoms
  • Unfilterable bin: Marking several tags as unwrangleable, e.g. when you want to clear out all the smushnames in a freeform bin
  • Unwrangleable bin: Removing the unwrangleable flag from tags, e.g. when you audit an old fandom for past mistakes
  • Synonyms bin: Removing 0-use syns (which you never have to do, but some people like letting chatty tags rake)
  • Canonicals bin: Bulk-change upper/lowercase letters and diacritics on the tags' names

The appropriate buttons are available in each bin. The Unwrangled bin will not have any new buttons from this script.

Warning: Each button click creates 2 page loads per tag, which means that using this script can and will get you rate-limited (Retry Later) if you use it on too many tags in quick succession!

Instructions:

  1. In your fandom bin, select the tags you want changed by ticking their checkboxes as usual
  2. Depending on what you'd like to change:
    • To change the fandom(s) the tags are in, first enter the desired fandom(s) in the "Wrangle to Fandom(s)" box. (Only these fandoms will remain on the tags, all others will be removed.) Then select the "Replace Fandoms" button at the top right of the tag list (instead of the "Wrangle" button).
    • Select the "De-syn 0 use tags" button at the top right of the tag list, to remove the canonicals they're attached to, so they can rake
    • Select the "Set Unwrangleable", "Remove Unwrangleable" button at the top right of the tag list, to toggle the unwrangleable flag on the selected tags
    • Select the "Change Case/Diacritics" button at the top right of the tag list. The script then prompts you to enter first the old text that needs to be replaced, then the new text.
  3. In the background, the script will open the Edit pages of those tags and make the changes to the tag for you.
  4. Once all updates are complete, a notice shows at the top of the bin letting you know which changes were successful, and which failed (for example because of encountering Retry Later). Each tag is linked for convenient checking.

    If you're de-synning 0-use tags, the script will also check if the tag will rake. If not, it will show you a warning that you might want to re-syn the tag, but it does not re-apply the syn by itself. If you select a tag that has uses, the script will skip it and it remains synned.