[Mediawiki-l] Wikia TabView extension

Daniel Bishop aerosatar at gmail.com
Sat Mar 20 21:47:16 UTC 2010


Hi,

I am very interested in using the TabView extension on my own wiki.

In addition to TabView.php are there any other requirements for getting it
to work?

I've also downloaded the YUI v2.8.0r4 and extracted the contents into my
skins/common directory.

I ask because I am struggling - I get "500 Internal Server Errors" as soon
as I try to use it on a page.

MW 1.15.1 (soon to be 1.15.2)
Currently on a WAMP setup for testing (will be on LAMP in production)
* Windows XP SP3
* Apache 2.2
* MySQL 5.1.30-community
* PHP 5.2.8

My server error log shows:
[Sat Mar 20 21:43:21 2010] [error] [client 94.195.252.155] PHP Notice:
Undefined variable: options in
D:\\transition\\extensions\\TabView\\TabView.php on line 109, referer:
http://www.wyrmsnest.com/transition/index.php?title=Main_Page&action=edit
[Sat Mar 20 21:43:21 2010] [error] [client 94.195.252.155] PHP Fatal error:
Class 'Wikia' not found in D:\\transition\\extensions\\TabView\\TabView.php
on line 112, referer:
http://www.wyrmsnest.com/transition/index.php?title=Main_Page&action=edit

Which seems to refer to these lines of code in TabView.php:

'options' => $options,

$outJS = '<script type="text/javascript">if (typeof window.__FlyTabs ==
"undefined") window.__FlyTabs = []; window.__FlyTabs.push(' .
Wikia::json_encode($tab) . ');</script>';

Can anyone help me figure out why it isn't working?

Regards,
Daniel Bishop


More information about the MediaWiki-l mailing list