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

       Web browser: ---
            Bug ID: 45276
           Summary: Fix error codes returned by the API.
           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: ---

ApiBase::dieUsage takes an error code. In the WIkibase API modules, we often
include the module name in that code. This is redundant: ApiBase::dieUsage
already attaches the module name to the code. So we should not do this again,
but use the same code to indicate the same problem in different modules. This
also eases code reuse between modules.

-- 
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