[Mediawiki-api] adding action=getmsg
Roan Kattouw
roan.kattouw at gmail.com
Tue May 5 16:34:51 UTC 2009
2009/5/5 Michael Dale <mdale at wikimedia.org>:
> Could we add in an action get message to the api or add some
> functionality to meta=allmessages ?
>
> Really need to be able to:
> A) send in parameterized replace values per msg key
> B) get the html rendered / parsed result (rather than the wikitext)
>
> Security wise the parameterized replace values should be treated as
> wikitext and go through the wiki-text-parser before rendered back out to
> the browser.
>
> Otherwise we have to do quite a few calls to generate a msg text that
> has a parametrized wiki-text-value.
>
Use action=parse&text={{int:messagename|param1|param2}} ?
Roan Kattouw (Catrope)
More information about the Mediawiki-api
mailing list