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!
On Thu, Jan 26, 2012 at 11:00 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?
Not really, it's all inconsistent as hell. Someone should clean that up sometime.
Patches are welcome ;)
Roan
wikitech-l@lists.wikimedia.org