Page MenuHomePhabricator

Incorrect suggested statements appearing for a campaign
Open, NormalPublic

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

Cparle created this task.Sep 5 2019, 2:08 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 5 2019, 2:08 PM
Ramsey-WMF triaged this task as Normal priority.Sep 6 2019, 4:55 PM
Ramsey-WMF added a subscriber: Ramsey-WMF.

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.

Cparle added a comment.Sep 6 2019, 5:01 PM

Yeah, same here - it's been introduced recently