On Sun, Nov 15, 2009 at 8:01 PM, Roan Kattouw <[email protected]> wrote: > 2009/11/15 Kevin Dunn <[email protected]>: >> Is there a way to expand templates with the API, but leave the >> comments intact? >> > No. There is no facility for that in the software, so the API can't expose it. > > Roan Kattouw (Catrope) > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > Wouldn't
$options->setRemoveComments( false ); work? Could be nice to have a parameter "&keepcomments" for action=expandtemplates.. P.Copp _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
