Skip to content

MediaWiki extension for automatic AI edit verification workflow #19

@magent-cryptograss

Description

@magent-cryptograss

Summary

Build a MediaWiki extension (onion-style, layered) that enforces verification workflow for AI/bot edits, starting with automatic application of our existing templates.

Current State

We have templates ({{Bot_proposes}}, {{Verified}}, status=proposed|verified on {{Show}}) and a verification gadget, but nothing enforces their use. Bots could bypass the system entirely.

Desired Behavior

Layer 1: Automatic template wrapping

  • Edits from bot accounts in main namespace automatically get {{Bot_proposes}} wrapper or status=proposed
  • No bot can create "verified" content directly

Layer 2: Patrol queue integration

  • AI edits appear in Special:RecentChanges with distinct styling
  • Possibly integrate with MediaWiki's built-in patrol system

Layer 3: (Future) Verification attestations

Technical Approach

MediaWiki extension with hooks:

  • PageContentSave or MultiContentSave to intercept bot edits
  • Check user groups for bot flag
  • Modify content or add page properties before save

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions