Hmm, agreed. Thanks for the starting pointer though. It'll be useful enough for now.
On Mon, Dec 6, 2010 at 8:37 AM, bawolff <bawolff+wn@gmail.combawolff%2Bwn@gmail.com
wrote:
On Sun, Dec 5, 2010 at 5:26 PM, Leigh Blackall leighblackall@gmail.com wrote:
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!
Not really. Thats more a hack that works by accident then anything 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=Medi... 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