[Pywikipedia-l] Template expansion

Dr. Trigon dr.trigon at surfeu.ch
Sun Sep 12 20:36:29 UTC 2010


Hello

A question about wikipedia.get and wikipedia._getEditPage:

Would it be possible to add an option 'expandtemplates=False'
and the code:

if expandtemplates: params[u'rvexpandtemplates'] = u''

to enable template expansion on pages when/if requested.

I can also provide a patch if this suggestions is welcome.

Thanks and greetings!
DrTrigon



More information about the Pywikipedia-l mailing list