Hi Michael,
we have done some extension using prototype, whereas the extension itself is implemented as a Special Page, accessing and using the db-connection of the Wiki.
We put the js-include in the execute-function of the Special Page like this:
$wgOut->addScript('<script type="text/javascript" src="'.$path.'extensions/compilation/prototype.js"></script>');
Regards, Mathias
On 9/12/07, Michael Heyder Info@hafenvolleyballer.de wrote:
Hi,
hard problems hitting me. I have to use the prototype framework in some extensions but I've no idea to handle this. I need a seperate php-File which handels the requests but also i need db-connection and tite and article objects.
so how can this be implemented.
best regards mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l