AO3: Set Default to Allow Guest Comments

Defaults new works posted to Archive of Our Own to allow guest comments in addition to comments from registered users.

Stan na 28-04-2024. Zobacz najnowsza wersja.

Autor
Quihi
Oceny
0 0 0
Wersja
1.0
Utworzono
28-04-2024
Zaktualizowano
28-04-2024
Rozmiar
691 bajtów
Licencja
MIT
Dotyczy

This script will automatically set new works posted to Archive of Our Own to allow guest comments in addition to comments from registered users.

AO3 has not made this change to the site yet, but this script should have no effect at the moment and work when the default option does switch to only allowing comments from registered users. If not, I'll fix it as soon as I can.

It should work for both posting new works (the first bit of code) and importing works (the second bit of code). It works by selecting a different radio button when you open the page to post a new work, so if you select a different option manually, that one will be used instead.

To change which option is the default, if, say, you never want to allow any comments, change the name of the button in the script. (These can be found by viewing the source code.) For no comments, these are "work_comment_permissions_disable_all" and "comment_permissions_disable_all".