Skip to content

AO3-7542 Add permalink and blog_lang to Akismet comment checks#5944

Open
pmonfort wants to merge 1 commit into
otwcode:masterfrom
pmonfort:AO3-7542
Open

AO3-7542 Add permalink and blog_lang to Akismet comment checks#5944
pmonfort wants to merge 1 commit into
otwcode:masterfrom
pmonfort:AO3-7542

Conversation

@pmonfort

@pmonfort pmonfort commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7542

Purpose

Adds two parameters to the Akismet comment spam-check request to improve detection a

  • permalink: The full URL of the page being commented on (e.g. https://archiveofourown.org/works/123/chapters/456 or https://archiveofourown.org/admin_posts/789).
  • blog_lang: The language of the work or admin post (e.g. en, ru).

Testing Instructions

  • Post a comment on a work and verify that akismet_attributes includes permalink blog_lang with the work's language.
  • Post a comment on an admin post and verify permalink uses the admin post path.
  • Reply to a comment and verify permalink resolves to the original chapter/admin pt.
  • Edit a comment and verify that the recheck sends the correct permalink with the

Credit

Pablo Monfort (he/him)

@pmonfort
pmonfort force-pushed the AO3-7542 branch 2 times, most recently from 761e3a7 to 7379272 Compare July 25, 2026 06:04
@pmonfort
pmonfort marked this pull request as ready for review July 25, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant