AO3: [Wrangling] Search my canonicals for illegal characters

automatically runs a fandom-specific tag search over all your assigned fandoms, to find any canonicals with 'illegal' characters such as curly quotes or Chinese pipes

Fejlesztő
escctrl
Napi telepítések
0
Telepítések száma
47
Értékelések
1 0 0
Verzió
3.0
Létrehozva
2022.12.05.
Frissítve
2022.12.09.
Licensz
MIT
Érvényes

Purpose: Some special characters from Unicode ‘’“”|–—―() look very much like ASCII to the naked eye. They should not be used in canonicals. Also, two apostrophes instead of a double-quote are bad practice. This script helps you find the canonicals that need fixing in your bins.

Instructions: Based on a tag search query that finds any canonical tags with "illegal" characters, this script trawls through each of your assigned fandoms individually. You'll only see results that YOU can fix!

  1. At the top right of a blank Tag Search page, a "Check Illegal Characters" button appears.
  2. Click it - the script will start checking in the background. The button's text will count down how many fandoms are still pending.
  3. When it finishes, the results are displayed grouped by fandom in which they were found.

Note 1: the button only appears on an empty tag search. Once you searched for something, the button does not appear anymore to avoid clicking it by accident in the course of regular wrangling.
Note 2: Works both with a vanilla tag search, or when you have the All Buttons on All Pages script enabled - the button appears at the end of the configured buttons.
Note 3: The background checking is deliberately slow, to avoid getting rate limited. It waits for 3sec between fandoms.

Alternative: If you set the configuration option COPY_SEARCH_STRING at the beginning (line 15) to true, the button will only give you the search string, which will find all those illegal characters. Then you can manually choose the fandom and tag type, and search one at a time.