AO3: [Wrangling] Bulk-Manage Tags

Mass-select tags and set/unset the unwrangleable flag, replace fandoms, remove 0-use syns, or copy tag names/links

نووسەر
escctrl
Daily installs
0
Total installs
70
Ratings
0 0 0
وەشان
5.3.1
Created
2022-07-26
Updated
2025-01-12
Size
29.3 KB
مۆڵەت
MIT
Applies to

💖 What it does

Lets you select tags in a fandom bin, or from tag search results, and mass-edit them:

  • the unwrangleable flag can be set or unset
  • synonyms without any uses can be de-synned from the canonical so the tag can be raked
  • change uppercase/lowercase or diacritics on canonicals
  • replace the current fandom(s) with other fandoms
  • or copy tag names or links to the clipboard

🪴 How to use it

Buttons for each of the options are only available in the appropriate fandom bins.

Caution: 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!

  1. Select multiple tags and click the button at the top of the tag lists.
    • Unfilterable bin: Marking several tags as unwrangleable
    • Unwrangleable bin: Removing the unwrangleable flag from tags
    • Synonyms bin: Removing 0-use syns
    • Canonicals bin: Bulk-change upper/lowercase letters and diacritics on the tags' names
  2. Adding and removing fandoms is possible within all bins (except Unwrangled, since those tags aren't attached to a fandom yet), and when searching within one or multiple fandoms.
    • A dialog will ask you to select the fandoms to remove. The options are the fandom of the viewed bin, respectively the fandoms used in tag search, as well as the option to remove all fandoms from the tag. You can also choose not to remove any fandoms.
    • The dialog also allows you to enter the fandoms to add. The textbox uses the standard Ao3 autocomplete.
  3. Changing case or diacritics is also possible from tag search, by searching within one or multiple fandoms and limiting results to canonicals.
    • The browser will prompt you to enter the piece of text to be replaced, e.g. "Coen".
    • The browser will then prompt you to enter the properly formatted text that it should be replaced with, e.g. "Coën".
  4. In the background, the script will open the Edit pages of those tags and make the changes for you.
  5. Once all updates are complete, a notice shows at the top of the page. Each tag is linked for convenience.
    • letting you know which changes were successful
    • which failed (for example because of encountering Retry Later)
    • 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.

To copy a list of tags to the clipboard, choose the desired formatting from the dropdown, then click the "Copy" button. Formatting options are:

  • as Text: only the tag names, as a simple list
  • as Links: HTML for links to the tags' URL, with the tag names as display text
  • for Chat: depending on the capabilities of the chat app, pastes either as formatted links or a list of plain tag names and URLs

🐞 Known limitations

Tag Search requires you to search within your fandom, to avoid accidentally wrangling another fandom's tags. Since tag search cannot differentiate between unfilterable, unwrangleable, and synonyms, only the Replace Fandoms and Change Case/Diacritics options are available.

🏛️ History

  • v5
    • tag search now supports changing fandoms and case/diacritics when searching within a fandom
    • copy tag names or links to clipboard
    • waits 2s between tags to reduce likelihood of Retry Later errors
  • v4 - change case/diacritics on canonicals
  • v3 - remove all fandoms from the tags and add only those selected
  • v2 - de-syn tags that have 0 uses
  • v1 - setting and unsetting the unwrangleable flag