[Mediawiki-l] Using DOM to modify article in extension...possible?
Michael Roach
michael.roach at us.lawson.com
Sun May 21 18:34:08 UTC 2006
Hi all,
I am working on an extension that more or less fully exposes the Yahoo!
Maps AJAX API and have been exploring different implementation techniques
and could use a little insider insight.
Is it possible to use the php DOM functions to walk the structure of a
MediaWiki article? If yes, can I get a brief snippet to start me off?
What I really want to do is from within an extension, to add a new <script>
child to the <head> element of a article. I know about getElementsByTagName
and appendChild but I haven't been able to get them to work with MediaWiki.
Thanks in advance!!Michael
More information about the MediaWiki-l
mailing list