Extension talk:GeeQuBox

When you're reporting an issues, please specify what version of mediawiki and what version of the extension you're using. Thanks! --Clausekwis 21:03, 22 March 2011 (UTC)

Fatal error
On mediaWiki 1.16 with your extension (v0.02.1) I'm getting the following error:

When I refresh the page the error is gone but the extension isn't activated. --84.245.7.153 12:34, 4 March 2011 (UTC)

Re: fatal error
I had that problem at first, too. I think it may have something to do with the PHP version. I fixed it by replacing this...

$replaced = preg_replace_callback($pattern,'self::_gqbReplaceMatches',$page);

with this...

$replaced = preg_replace_callback($pattern,'GeeQuBox::_gqbReplaceMatches',$page);

The second problem I had was that the extension assumes the URL root is /wiki/ and mine is actually /w/ - the way to fix this is to modify the regex pattern on line 128 (i.e. $pattern = '...').

I now have a third problem. Sometimes the lightbox works and sometimes it doesn't (goes to standard image view) - for the same exact pages. If I flush the cache it will sometimes work again, and sometimes not. Haven't been able to figure this one out yet.


 * Can you please let me know what version of PHP you're using? I'll see to updating the URL root behaviour, I should not have assumed any path values, I'm astonished I did. I can't help you out with our third issue though, but please do let me and the other users know once you find out what causes this. --Clausekwis 21:00, 22 March 2011 (UTC)


 * Both your first issues have been fixed in REL_0_2 (r84568) --Clausekwis 21:50, 22 March 2011 (UTC)