[Mediawiki-l] Wiki page without furnishing

Christensen, Courtney ChristensenC at battelle.org
Tue Jul 6 19:05:21 UTC 2010


On 5 July 2010 17:40, Shawn Devlin <swdevlin at gmail.com> wrote:
> The site that needs to include the MediaWiki pages is a portal, not a
> MediaWiki site. But the {{ }} functionality is what I am looking for; I just
> need to put that into a non-MediaWiki page.
>
>
>
>
> On 5 July 2010 11:34, Lewis Cawte <lewiscawte at googlemail.com> wrote:
>
>> I believe you may be thinking of {{:<page name here>}} ?
>>
>> --
>> Lewis Cawte
>>
>> On 05/07/10 15:37, Shawn Devlin wrote:
>> > Hello,
>> >
>> > I have a requirement to display pages as "includes" in pages in another
>> > site. I can put the wiki page in an iframe, but I only want to display
>> the
>> > content part of the page. 3.3 in the FAQ shows how to suppress displaying
>> > non-content on the page, but I only want to suppress that when I do a
>> page
>> > include.
>> >
>> > Any ideas how to do this?
>> >
>> >
>> >



This seems like a time when you would use the API to me.  Something like http://server/wiki/api.php?action=query&prop=revisions&titles=Main Page&rvprop=content

Good luck,
-Courtney




More information about the MediaWiki-l mailing list