On Wed, Sep 22, 2010 at 8:17 AM, Roan Kattouw <[email protected]> wrote:
> 2010/9/22 Roan Kattouw <[email protected]>:
>>> I understand that not every ApiBase derived class needs these, but many
>>> could have. Why not make inheritance chain like this:
>>> ApiBase -> ApiListBase -> ApiQueryBase
> Actually, let's just put that stuff in ApiBase so every module can use
> it easily. Creating an intermediate class that modules then have to
> extend serves no purpose.
>

I disagree. Things that work currently with ApiBase would continue to,
and things extending ApiQueryBase wouldn't notice a difference if a
few of their methods were moved up a level to a new ApiListBase.

-Chad

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to