Hmm, agreed. Thanks for the starting pointer though. It'll be useful enough for now.
On Sun, Dec 5, 2010 at 5:26 PM, Leigh Blackall <leighblackall@gmail.com> wrote:Not really. Thats more a hack that works by accident then anything
> Oooh! That's sounds too easy Bawolf..
>
> I tried it for http://en.wikiversity.org/wiki/User:Leighblackall
>
> It worked beautifully!
>
> http://leighblackall.blogspot.com/p/wiki.html
>
> Is there anything I can do to force font, remove the big "Edit" link, and
> other things? This is great! Now we can go ahead and embed Wiki content into
> web pages that add extra functionality to units we teach.
>
> Thanks!
else. Links inside it also behave weirdly, and most (all?) css is not
loaded. You can do more complicated things, like using the xslt
parameter of the api to embed things fancily (wiktLookup being an
example of that -
http://en.wiktionary.org/w/api.php?action=parse&format=xml&xslt=MediaWiki%3AextractFirst.xsl&prop=text&page=embed&lang=en&count=1&showWord=bold&audio=none&redirects=on&rd=1
but you could also take a similar approach to load just the content of
a page in prettier fashion than action=render but this approach also
has its drawbacks), and at that point you might as well just write a
proper extension as it'd probably be less work.
-bawolff