Page MenuHomePhabricator

Modify javascript Gadget-PermissionOTRS.js on Commons to add P6305 SDC statement
Open, Needs TriagePublic

Description

On Commons MediaWiki:Gadget-PermissionOTRS.js is responsible for adding OTRS numbers to files. Lately I was copying all OTRS numbers to Structured Data on Commons (SDC) using P6305 property. Can someone familiar with javescript update the script so it adds SDC statement automatically? See https://commons.wikimedia.org/wiki/MediaWiki_talk:Gadget-PermissionOTRS.js#Add_P6305_SDC_statement.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

NO! If I understand this correct the request is to make a multiedit where the file page and the structured data is changed with one edit!

Please do NOT do that unless you read this https://phabricator.wikimedia.org/T225897

As far as I can tell multiedits break the system.

Would be two edits. One for the wikitext and one for adding the structured data.