Hi!

I had the Collection working, but i was forced to reinstall the server
and to install mediawiki by using:
apt-get install mediawiki

I am using Ubuntu 9.04 Server 32bit

I don't know my mediawiki-version

I followed the instructions and inserted:

<?php
      if(isset($GLOBALS['wgSpecialPages']['Book'])) {
         CollectionHooks::printPortlet();
      }
    ?>

But i encounter an error at the spot, where the Book-Part should show
up:

Fatal error: Call to undefined method SkinModern::link() in /var/lib/
mediawiki/extensions/Collection/Collection.hooks.php on line 91

The part of the  code is:

$sk->link(SpecialPage::getTitleFor(....

Tracked back, the variable $sk is loaded by an object of the Skin:
$sk = $wgUser->getSkin();

Can anyone help me please?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to