This project is not covered by Drupal’s security advisory policy.
When an editor changes a fact on one page, AI Content Consistency finds the other pages that still state the old one, in any wording and in any language of the site.
A fee goes from $50 to $75, a phone number changes, a document is no longer required. The page that was edited is now right, but the FAQ, a service guide and the Spanish and Arabic versions of other pages still say $50, often in other words: "USD 50", "fifty dollars", "50 dólares", "٥٠ دولارًا". Search and replace cannot find these. This module finds them and suggests a corrected sentence for each one. It never changes a page by itself.
Features
- Finds the old fact in any wording and in every language of the site, including the other translations of the page that was edited.
- Suggests a corrected sentence for each page it finds, with an Edit page button that opens the right editor, Drupal Canvas included.
- Works with every content type, taxonomy terms, content blocks, Drupal Canvas pages and any other content entity that has its own page.
- Reads the title, every text field, Canvas components and Paragraphs, including paragraphs inside paragraphs.
- Handles Arabic text properly: Arabic-Indic digits, hamza and alef forms, diacritics and tatweel.
- Saving a page stays fast. Checks run with cron, or straight away when someone clicks Check now.
- When an editor removes the old sentence, its result closes by itself.
- Works with any chat provider of the AI module, including models that run on your own servers.
How it works
- When a page is saved, its text is compared with the version before. Only the sentences that changed are kept. Nothing is sent to the AI yet.
- On the next cron run, the AI lists the facts that changed and the words another page would use for the old fact, in each language of the site.
- The database finds the pages that use those words.
- The AI reads the matching sentences and keeps only the ones that state the old fact, each with a suggested correction. A page that only shares a number by chance is left out.
- Editors review the results under Content » Consistency, or on the Consistency tab of a page.
Requirements
- Drupal 11.2 or later. Drupal 12 is declared and works as soon as the AI module supports it.
- PHP 8.3 or later.
- The AI module, with a provider that can chat, such as OpenAI, Mistral, or Ollama for a model on your own servers.
- Drupal Canvas and Paragraphs are optional.
Configuration
- Set a default chat provider at Configuration » AI » AI Infrastructure, or choose one for this module only in the next step.
- Go to Configuration » AI » Content Consistency and choose the kinds of pages to check.
- Give editors the Review content consistency permission.
- Make sure cron runs.
Privacy
The module sends two things to the AI provider: the sentences that changed, and sentences from other pages that may still state the old fact. If your content must stay on your own servers, choose a provider that runs there. User accounts and webform submissions are never checked.
Limits
- Only the published version of each page is searched. Unsaved drafts are not, including Canvas changes that are not published yet.
- The fact must be in a page's text. Facts inside images, files, link titles or media are not found.
- Results depend on the model. A model that writes well in each language of your site gives better suggestions.
Project information
- Project categories: Artificial Intelligence (AI), Content editing experience, Multilingual
- Ecosystem: AI (Artificial Intelligence)
- Created by alaa abbad on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.




