Page MenuHomePhabricator

Suggested statements (without values) in UploadWizard configurable via json
Open, Needs TriagePublic

Description

Campaigns are configurable via json like this

https://commons.wikimedia.org/w/index.php?title=Campaign:wlm-es&action=edit

ATM the wikibase properties that are shown by default on the File page and in UploadWizard (currently just 'depicts') are defined in MediaInfoProperties in extension.json (accessible inside the php code as the global $wgMediaInfoProperties)

The simplest way to implement this (or, at least, I hope it'll be simple :) ) would be to also allow this to be also defined in the campaign config, and merged (with the campaign config taking priority).

Acceptance criteria:

  • can enter property ids into campaign json config, and have a section with the property id set appear in UW so the user can add their own value