Hi guys I am wondering if it is possible to pass PHP variables into the mediawiki extension Parser. i.e. instead of having a static template, I would like to somehow use a couple variables from a MySQL table.
The extension is availabe from here
Thanks
Hi Ben,
I am wondering if it is possible to pass PHP variables into the mediawiki extension Parser.
I'm not quite sure what this means, but I can tell you that since a MediaWiki parser extension is a piece of PHP code, it can take input from any number of sources.
I would like to somehow use a couple variables from a MySQL table
Well, assuming that by "variables" you mean "data", yes - a parser extension _can_ use data from the MySQL database.
-- Jim R. Wilson (jimbojw)
On 5/29/07, Ben Duivesteyn duivesteyn@gmail.com wrote:
Hi guys I am wondering if it is possible to pass PHP variables into the mediawiki extension Parser. i.e. instead of having a static template, I would like to somehow use a couple variables from a MySQL table.
The extension is availabe from here
Thanks
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org