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

            Bug ID: 69001
           Summary: Replace base classes ApiWikibase, ModifyEntity,
                    ModifyClaim, etc. with composable objects.
           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]
       Web browser: ---
   Mobile Platform: ---

Our API modules depend on subclassing for common operations. This makes it hard
to mix and match, and makes it virtually impossible to mock all services used
by a given API module (see bug 68917).

To fix this, we should create helper classes for specific aspects of API
operations (e.g. finding entities, saving entities, etc), and use them in the
concrete modules via composition.

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

Reply via email to