Page MenuHomePhabricator

Incorrect suggested statements appearing for a campaign
Open, MediumPublic

Description

Steps to reproduce:

  • set up a campaign with suggested statements by going to the url /wiki/Campaign:MyCampaign and entering this as the wikitext
{
    "enabled": true,
    "wikibase": {
        "enabled": true,
        "statements": true
    },
    "defaults": {
        "statements": [
            {
                "propertyId": "P276",
                "dataType": "wikibase-entityid",
                "values": [ "Q1761" ]
            }
        ]
    }
}
  • upload an image for the campaign via /wiki/Special:UploadWizard?campaign=MyCampaign
  • note on the metadata page that the default statements are shown as well as the campaign statements - if campaign statements exist only those should be shown

Event Timeline

Ramsey-WMF subscribed.

Confirmed. But this is weird because I'm pretty sure I tested this exact scenario at some point during dev and it worked as expected. Regardless, it's certainly a bug now.

Yeah, same here - it's been introduced recently