AdvancedFlagging
AdvancedFlagging copied to clipboard
Added support for comments on other sites than SO, added placeholders, fixed some bugs
Added support for comments and Answer related NAA options for sites other than Stack Overflow.
In addition, similar to AutoReviewComments, I added 3 placeholders:
| Placeholder | Description | Example |
|---|---|---|
| %SITENAME% | The site name | Stack Overflow, Super User, Physics Stack Exchange |
| %SITEURL% | The domain of the current site | stackoverflow.com, money.stackexchange.com |
| %OP% | The author of the question/answer | fastnlight |
I've also fixed a bug where if a user was recognized in a collective, AdvancedFlagging would believe their answer was actually a question.
Hmm... I'm reluctant to approve this. IIRC, the reason that adding answer-related comments via the AF menu on non-SO sites was disabled is because of this Charcoal policy:
You should not leave comments under a post reported by SmokeDetector, unless you are otherwise familiar with that Stack Exchange site. In general, that means you participate on the site for more than responding to SmokeDetector reports and/or viewing a few Hot Network Questions.
The primary reason I allowed comments on all sites is so AF isn't a SO only userscript, but could be used by regulars of other sites. I fully understand why it was disabled in the first place. If you want me to disable it again, please let me know.
I'm sorry for the delay in responding. Since I've rewritten some parts of the code this PR modifies, could you open a new PR with your changes? Thanks!
@double-beep Done! #292