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
Hello
Here is the patch I would like to suggest. It does the expansion if API is used.
Greetings
Am 12.09.2010 22:36, schrieb Dr. Trigon:
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
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
A force has to be triggered to (thanks xqt!) so here the improved version.
Greetings
Am 14.09.2010 14:07, schrieb Dr. Trigon:
Hello
Here is the patch I would like to suggest. It does the expansion if API is used.
Greetings
Am 12.09.2010 22:36, schrieb Dr. Trigon:
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
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org