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

       Web browser: ---
            Bug ID: 45275
           Summary: ApiRemoveClaims needs to report new revision ID on
                    success
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

ApiRemoveClaims does not include the new revision ID in the API result. The
problem is that ApiRemoveClaims operates on a list of claim IDs, which may
belong to multiple entities - so there is no obvious way to include the new
revision IDs.

Also, ApiRemoveClaims takes a single baserevisionid as a parameter. This will
not work with claims that belong to a different Entity. 

Should probably be restricted to operating on claims of a single entity; for
clarity, the entities ID should probably be required as a parameter. This way,
supplying a baserevisionid and receiving back a new revision ID will work like
for other API modules.

There does not seem to be much value in supporting the removal of claims from
different entities at once.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to