views:

19

answers:

1

I need to use some PHP code inside of a MediaWiki form. Basically, I need to use some PHP date stuff and create a few infoboxes based on timeframes. Is there a way to use PHP to generate a "template" in the "edit" box?

I'm very new to developing with MediaWiki, so I'm not sure how MediaWiki exactly works, and this is a very small project, so I haven't really dived into any documentation for the most part.

+1  A: 

You can certainly add secure HTML within a wiki page. It seems there is also a securePHP extension. I haven't tried the PHP one myself but the HTML one works very well.

Mark Robinson