https://bugzilla.wikimedia.org/show_bug.cgi?id=55835

       Web browser: ---
            Bug ID: 55835
           Summary: wbsetreference api makes new references when a hash is
                    provided
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: addshorew...@gmail.com
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#.E2.80.8EChanged_reference_of_claim

although this call has also worked
https://www.wikidata.org/w/index.php?title=Q2511165&diff=prev&oldid=77750477

wbsetreference should check if a reference exists with the given hash, if it
doesn't find said reference it should ERROR to the user saying no such hash
(you cant set a reference to a value if it doesn't exist)

New references should only be created when no reference hash is passed to the
api.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to