[Mediawiki-l] Problem with DPL and Contributors extensions

Jack Eapen C jackec at suntecgroup.com
Fri Dec 7 05:49:35 UTC 2007



Hi,

I'm using Contributors extension with a modification-instead of
displaying the "Main contributors" link in the tool box, I use it to
display the link as a new tab. For that, I added 

		$wgHooks['SkinTemplateTabs'][] =
'efContributorsNavigation';   

to Contributors.php and commented out //
$wgHooks['MonoBookTemplateToolboxEnd'][] = 'efContributorsToolbox';

It's working fine. But today I tried a page with DPL syntax. But that
page gives an error message:
 "Warning:Missing argument 3 for efContributorsNavigation() in
wiki/extensions/Contributors/Contributors.php on line 64 "
 "Warning:Missing argument 4 for efContributorsNavigation() in
wiki/extensions/Contributors/Contributors.php on line 64 "

The DPL query is executed correctly and the results are displayed. But
whenever that page is loaded, a java script error message "object error"
comes and I need to click the OK button to display the page. That page
has the above mentioned error messages on top.

I suppose that the Contributors extension works only for the main
namespace. So I tried it on a custom namespace and got the same problem

Any help, plz
 
Regards,
 
Jack Eapen C
SunTec Knowledge Centre
------------------------------------------------------------------------
------------
"Try and fail, but don't fail to try"



This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You



More information about the MediaWiki-l mailing list