Expand templates implementation in the API

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Expand templates implementation in the API

Bryan Tong Minh

I'm currently trying to implementing a function to the revisions
module similar to templates=expand
I'm unsure about the parameters that should invoke this function. It
only makes sense of course if rvprop=content is specified. I could add
an rvprop=expanded_content to give the expanded content, or I could
add another rvexpandtemplates parameters.

Also I noticed that PageSet->mTitles does not have the page id as
index. Is this on purpose? Because now implementing a getTitle method
is not really possible without a hack.


Mediawiki-api mailing list
[hidden email]