Thread:Extension talk:ParserFunctions/$wgPFEnableStringFunctions/reply (9)

Note sure about Python, but about PHP: Might be possible but it's not the prettiest language and offers too much server-specific stuff you wouldn't want anybody to use within templates. Certainly not the best choice. Basically, what LUA as well as any other half-hearted implementation of any programming language is missing would be some framework to access some MW specific stuff like you have in PHP using MWs base classes. That would be for example something like the MW Title class in php, access to some Parser functionality or even basic stuff like a function for accessing template parameters nicely. For realizing this, we would have to introduce some kind of wrappers into the PHP extension, connecting the new language (like LUA) with existing php functionality.