Mediawiki + OpenID (FC9): undefined function wfLoadExtensionMessages


Yesterday I ran into this problem:


[Tue Jul 22 15:59:58 2008] [error] [client 172.16.1.2] PHP Fatal error: Call to undefined function wfLoadExtensionMessages() in /usr/share/mediawiki/extensions/OpenID/OpenID.setup.php on line 153


Through google cache I found a reason for this error:

The problem is that wfLoadExtensionMessages was added in a later version of MediaWiki around 1.10 or 1.11 whereas I am using 1.8.2 which does not have this function.


The version of mediawiki in Fedora 9 at this moment is 1.10.4, which is too old.
I pondered patching the code and defining this function, but I think it would be a bad idea.

wfLoadExtensionMessages is a localization function used to load i18n messages from mediawiki extensions: http://www.mediawiki.org/wiki/Manual:Extensions#Internationalizing_your_extension

Maybe I should install from source *shrug*