On Thu, Jan 26, 2012 at 5:09 PM, Daniel Renfro <drenfro@vistaprint.com> wrote:

I am working on an extension and would like to add some functionality to the 'usercontribs' api module (api/ApiQueryUserContributions.) I cannot subclass the ApiQueryUserContributions class and get the functionality I want because there are a number of methods that have a 'private' scope. Is there a reason that these are private and not protected?

 

Daniel Renfro
Senior Software Engineer
T: 781-652-6465

 
Vistaprint Make an impression.  
Business Cards are FREE at www.vistaprint.com!

 


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


You're right, those methods should be protected. Unless there's any disagreement I'll be happy to fix that after the code slush (unless Reedy is ok with it for 1.19)

--
John