{"push_id":694365974,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"d4b6c626eeb01b87dc4800f593f910aead0cd843","before":"cf4e8aa729e86a0965a60d5a3617b08121f28029","commits":[{"sha":"b44e59ae60a65bcba0e5fbc6d1941f1edcdc640c","author":{"email":"973b709dfccb97ffddf00728a52fce2cb2d2c8dd@gmx.de","name":"Fabian Neundorf"},"message":"[FEAT] Request: Separate MW API and PWB API params\n\nInstead of using kwargs, which could clash with already existing normal\nparameters it uses a separate argument which takes all the parameters used for\nthe API.\n\nTo support the mixed mode in other classes forwarding kwargs directly to\nRequest they can use 'clean_kwargs' which separates the API parameters and\nPython arguments to use the new style. Subsequent changes must reflect that\nthen. This will not break backwards compatibility, just that implementations\nnot using 'clean_kwargs' will only be able to use one mode.\n\nIt also adds support for Page instances in parameters and adds a function in\ntools to merge multiple dicts if they have unique keys.\n\nThe APISite instance also gets '_request', '_simple_request' and\n'_request_class' methods in case a script want to use their subclass of\nRequest. The QueryGenerator also uses '_request' and '_request_class'. But for\nbackwards compatibility it allows both modes (so it's converting kwargs mode to\nparameters mode). With that QueryGenerator uses CachedRequest when an expiry\nparameter is set which breaks any usage with such an API parameter unless they\nuse the parameters mode.\n\nBug: T70988\nChange-Id: Ic259420c312d4efe4f14c772b369f86e6ed2e819","distinct":true,"url":"https://api.github.com/repos/wikimedia/pywikibot-core/commits/b44e59ae60a65bcba0e5fbc6d1941f1edcdc640c"},{"sha":"d4b6c626eeb01b87dc4800f593f910aead0cd843","author":{"email":"61a1c7c885f4fc173424af2875d459c32bdc4fee@gerrit.wikimedia.org","name":"jenkins-bot"},"message":"Merge \"[FEAT] Request: Separate MW API and PWB API params\"","distinct":true,"url":"https://api.github.com/repos/wikimedia/pywikibot-core/commits/d4b6c626eeb01b87dc4800f593f910aead0cd843"}]}