Page 1 of 1

Extension Collection in MW 1.18

PostPosted: January 17th, 2012, 2:15 pm
by helober
I think I better start a new topic, since the one is about one year old and the solution offered there doesn't work any more.

Having upgraded to MW 1.18 and installed the extension:collection (also 1.18) I found a "heading" (like "toobox") saying "Print/export" but no clickable "subheading". The workaround that I discovered may not be very clean, but here it is

Step 1:
Edit the "Sidebar" by putting something like
Code: Select all
* Download
**|Create book/file
underneath your existing Sidebar

Step 2:
In the collection.php file ../extensions/Collection/ I deleted this line
Code: Select all
$wgHooks['SkinBuildSidebar'][] = 'CollectionHooks::buildSidebar';

and that was it.

If anyone has a better solution, let me know

Re: Extension Collection in MW 1.18

PostPosted: January 17th, 2012, 8:20 pm
by Paul
Thanks for sharing...

The old skin is not compatible with new mediawiki 1.17 and up version due to core update in mediwiki. You might want to get the latest GuMax and try it on new mediwiki.

Re: Extension Collection in MW 1.18

PostPosted: January 18th, 2012, 3:04 am
by helober
First, I have to apologize for having offered a "dirty trick" that does not function. It worked out for someone (person with a particular ID) who previously had used the extension collection, but for an anonymous user, who had not used it a "fatal error" (DNS error - server cannot be found) occurred. Maybe the whole post can be deleted?

As to the recommendation of upgrading: you have developed very nice skins, Paul. In addition, you've provided many hints on how to adapt the skins to specific needs. The groups for which I am maintaining the websites have very special expectations of what their pages should look like, where the navigation should be and which parts they want to be visible. Since I am just an odd volunteer and no expert at all, I'm afraid that it shall take me quite some time to adapt the parts in the "template.css" and other files to their "needs" (has to be done in 5 wikis). Nevertheless I agree that an upgrade seems to be the best idea.

And thanks again for all the great work you've done and are still doing.

Re: Extension Collection in MW 1.18

PostPosted: January 19th, 2012, 12:27 am
by Paul
Don't worry about the post, people will understand through the whole posts.

The one of the big changes in new mediawiki is the head elements, which loads the core modules. These modules are required by wiki itself and extensions.

The new GuMax adapts these changes and will allow wiki and extension to work correctly.

Re: Extension Collection in MW 1.18

PostPosted: January 14th, 2013, 4:51 am
by alphyrome
I too had the same issue with Media Wiki new release, I tried the new version of GuMax and it worked correctly. I would suggest using the new GuMax to avoid the extension problem with new releases of media Wiki. Thank you for the help!

Re: Extension Collection in MW 1.18

PostPosted: March 21st, 2013, 9:35 am
by greatingz
What is the likelihood of running that command and then getting bogged down in issues of associated dependencies required but not installed on my server?