Pretty cool! It's really possible to generate the descriptions from that. thanks! ----- Yury Katkov, WikiVote
On Sun, Apr 14, 2013 at 12:49 AM, Merlijn van Deen <[email protected]> wrote: > Hi Yury, > > Cleaning up my pywikipedia backlog, and in the category 'better late > than never': > > On 6 August 2012 14:05, Yury Katkov <[email protected]> wrote: >> If no such extensions exists could anybody tell how to programaticaly get >> the parameters of a given template? > > The 'generatexml' function in the API should do roughly what you want: > > http://www.mediawiki.org/w/api.php?action=parse&page=Template:Gerrit-reviewer&generatexml&format=jsonfm > > Then walk over all nodes using //tplarg/title > > Merlijn _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
