User:SuperHamster/AIMarker
From Wikipedia, the free encyclopedia
AIMarker is a user script that adds a small "AI marker" overlay on top of images that have been identified as having been AI-generated or AI-modified. On-hover, the marker provides additional text explaining if the image has been identified as AI-generated or AI-edited.
DescriptionAIMarker
AuthorUser:SuperHamster / WikiPortraits
First releasedJuly 4, 2026
UpdatedJuly 4, 2026
(48 days ago)
(48 days ago)
| Description | AIMarker |
|---|---|
| Author | User:SuperHamster / WikiPortraits |
| First released | July 4, 2026 |
| Updated | July 4, 2026 (48 days ago) |
| Source | GitLab repo User:SuperHamster/AIMarker.js |
The script works by checking the filepage wikitext for specific templates (e.g. {{Prompt}}, {{AI upscaled}}) or category strings (e.g. "using generative AI", "Images generated by X") that indicate AI usage. This script only labels images that have been already identified and labelled as having been AI-generated.
Installation
You can install this script on a specific Wikimedia project, or globally for all projects on Meta Wiki.
- Go to Special:MyPage/common.js (or meta:Special:MyPage/global.js for enabling globally)
- Add the following code:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SuperHamster/AIMarker.js&action=raw&ctype=text/javascript'); // Backlink: [[:en:User:SuperHamster/AIMarker]]
- Save the page