Re: [PATCHv2 2/2] git-remote-mediawiki: refactoring get_mw_pages function
- From
- konglu@minatec.inpg.fr <konglu@minatec.inpg.fr>
- Date
- Jun 12, 2012, 09:24 UTC
- Message-ID
- <20120612112432.Horde.uOUWUHwdC4BP1wrQWv4jzXA@webmail.minatec.grenoble-inp.fr>
- In-Reply-To
- <CA+hdvHhn1G=T=KjNvgXa-2M6oh2znbHmfZFZYPdqKhtybh_MoQ@mail.gmail.com>
Simon Perrat <simon.perrat@gmail.com> a écrit :
Show 12 quoted lines
> 2012/6/11 Pavel Volek <Pavel.Volek@ensimag.imag.fr>:
>
>> +sub get_mw_all_pages {
>> + my $pages = shift;
>> + # No user-provided list, get the list of pages from the API.
>> + my $mw_pages = $mediawiki->list({
>> + action => 'query',
>> + list => 'allpages',
>> + aplimit => 500
>> + });
>
> Indentation should be 8 columns wide.Indentation is correct here.