Page MenuHomePhabricator
Paste P8727

PlantUML MV image NSFW scoring diagram
ActivePublic

Authored by Mholloway on Jul 8 2019, 8:12 PM.
@startuml
title NSFW image scoring
actor "Wiki admin"
actor Uploader
actor Editor
entity MediaWiki
database MySQL
boundary "MV Provider"
== Wiki Configuration ==
"Wiki admin" -> MediaWiki : configure max image NSFW score in AbuseFilter
== Image Upload ==
Uploader -> MediaWiki : upload Commons image
MediaWiki -> "MV Provider" : request NSFW score
"MV Provider" --> MediaWiki : send NSFW score
MediaWiki --> MySQL : store NSFW score
== Page Edit ==
Editor -> MediaWiki : include image on page
MediaWiki -> MySQL : retrieve NSFW score
MySQL --> MediaWiki : provide NSFW score
MediaWiki --> Editor : provide feedback if AbuseFilter rule triggered
@enduml