Last modified: 2009-01-14 16:18:19 UTC
Mediawiki: 1.13.3-1 (latest debian package) Configure: 0.10.18 (svn revision 44430) When attempting to "configure the wiki" or "view the configuration", the extension produces a fatal error rendering the extension unusable. Fatal error: Call to undefined method SkinMonoBook::link() Warning: preg_match() expects parameter 2 to be string, array given I assume the link() method is part of mediawiki 1.14. My development experience in php is limited, but I have attached a patch that seems to have fixed the issues. The solution: - replace the link() method with makeKnownLinkObj() in Configure.page.php and SpecialViewConfig.php - pass a string instead of an array when creating the action link in SpecialViewConfig.php Cheers, Alon -- Website: http://www.turnkeylinux.org Launchpad: https://launchpad.net/~alonswartz
Created attachment 5633 [details] patch for the above mentioned issues
Changed available version for MediaWiki 1.13 at http://www.mediawiki.org/wiki/Extension:Configure#Versions. That version should not break with MediaWiki 1.13.
I installed the recommended revision from subversion (43933), and the exact same fatal error is produced. Why did I bother bugfixing and supplying a patch I don't know... """ Fatal error: Call to undefined method SkinMonoBook::link() in /var/lib/mediawiki/extensions/Configure/SpecialConfigure.php on line 36 """
Updated version on extension's description page.