https://bugzilla.wikimedia.org/show_bug.cgi?id=16849
Summary: recommended svn version for 1.13 is broken
Product: MediaWiki extensions
Version: any
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: Normal
Component: Configure
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l