On 04/05/2010 05:13 PM, Jim Safley wrote:
>> There's a hack:
>>
>> http://en.wikipedia.org/w/api.php?action=parse&text=__NOEDITSECTION__{{:Foo}}
> 
> Thank you. That works perfectly, but how does it work? It's undocumented.

It uses the documented "parse" method of the API [1], coupled with the
__NOEDITSECTION__ tag [2], and transclusion of a page in any namespace [3].

[1] http://www.mediawiki.org/wiki/API:Expanding_templates_and_rendering
[2] http://www.mediawiki.org/wiki/Help:Magic_words
[3] http://www.mediawiki.org/wiki/Help:Templates

Conrad

> 
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to