Extension talk:Bibwiki

Take also a look at the forum.

=General discussion=

...

=Feature requests=

...

=Bugs=

Getting error under MW 1.11
Invalid argument supplied for foreach in /my/server/path/installation/extensions/Bibwiki/Bibwiki.body.php on line 4161 Nonetheless, it appears to work, namely is adding to the bib file. Got this when I tried to add a URL entry. Something about $wgTitleLinkTags, which is a global, but is it to be set in the settings file or somewhere else? --Jeffmcneill 00:50, 5 November 2007 (UTC)

Version: Mediawiki 1.10.0
We followed the http://www.plaschg.net/bibwiki/Main/Configuration as posted but we got an error with the message "Fatal error: Call to a member function read on a non-object in C:\wamp\www\mediawiki-1.10.0\extensions\Bibwiki\Bibwiki.php on line 3880"

I had the same error with MV 1.10, you can see it in http://www.estigmergia.net/wiki/Especial:Bibliography. I also have the notification "Error: Opening file failed" in that page... --Esenabre 17:55, 8 June 2007 (UTC)


 * the problem results from a failed read access to $wgBibPath. I guess this is a configuration problem (access rights, PHP configuration etc.). The code which raises the error is:

...   $d = dir($wgBibPath);     # <--- this failes while (false !== ($f = $d->read)) { if (preg_match('/\.bib$/',$f)) { ...


 * -- Wplaschg 09:37, 11 June 2007 (UTC)

Can't get source script
Can you maybe paste the script(s) here or nearby? Access to the homepage URL timed out. Hoogs 02:41, 12 July 2007 (UTC)

Same problem for me. The server is not accessable. Is there a mirror or something? --StefanGrossmann 12:16, 15 January 2008 (UTC)

Problem with My Configuration?!
I have followed the installation instructions and keep getting the following error when I try to load the wiki:

Warning: require_once(extensions/Bibwiki/Bibwiki.php) [function.require-once]: failed to open stream: Permission denied in /usr/local/apache2/htdocs/wiki/LocalSettings.php on line 167

Fatal error: require_once [function.require]: Failed opening required 'extensions/Bibwiki/Bibwiki.php' (include_path='/usr/local/apache2/htdocs/wiki:/usr/local/apache2/htdocs/wiki/includes:/usr/local/apache2/htdocs/wiki/languages:.:/usr/local/php/lib/php') in /usr/local/apache2/htdocs/wiki/LocalSettings.php on line 167

I have installed several other extensions without any trouble. I tried shutting the other extensions off to see if they were clobbering each other, but the error remained. I am using MW 1.11.0. I keep thinking that I must have missed something in my configuration, but I have gone over the instructions repeatedly and cannot figure out what it is I missed. Any help would be greatly appreciated.

--rowenrye 00:44, 31 January 2008 (UTC)

Do I feel dumb or what? Somehow the permissions on my Bibwiki folder were not set properly. I just did chmod 755 and everything works fine. Sorry...

--rowenrye 05:43, 31 January 2008 (UTC)

Persistent links to amazon.de Despite Changing Settings to amazon.com
I have gone into Bibwiki.body.php and edited the wgAmazonURL value at line 1089 changing

'wgAmazonURL' => 'amazon.de',

to

'wgAmazonURL' => 'amazon.com',

I have also tried allowing the value to be blank, and relying on the statement below:

if (empty($wgAmazonURL)) $wgAmazonURL = "amazon.com";

Despite this, my Amazon links on my Special:Bibliography page persist as amazon.de links. I cannot find any other reference to amazon.de in the Bibwiki files.

In my wiki, I am writing reviews of various books and would like to have the Amazon.com link available automatically for reference as well. I was hoping to use Bibwiki's Amazon link, but I have been unable to change its behavior such that amazon.com is the link that is generated when I look at the bibliography. Please advise. --rowenrye 23:00, 6 February 2008 (UTC)


 * $wgAmazonURL defines the URL from which Bibwiki *imports* bibliographic data. To change the link to Amazon next to an ISBN, edit the variable $wgISBNLinkTags in the library settings file that you use (default for the english language: libs/Library-US-Washington--LoC.php). You can change the library settings in the Bibwiki preferences. Thanks for the hint: I'll change the link from 'amzon.de' to 'amazon.com' in 'Library-US-Washington--LoC.php' because it doesn't make much sense there. -Wplaschg


 * Excellent. I had thought $wgAmazonURL was just for the imports, but I could not figure out where the link was being set. I thought I had searched for amazon.de in all the files in the folder, but apparently my searching skills are not as great as I had believed. Your fix worked perfectly. --rowenrye 19:32, 8 February 2008 (UTC)

BibWiki and Skin not Playing Nice Together
I am very happy with BibWiki and getting happier all the time. One of my (private but someday to be semi-public) wikis is for a nascent education company and is very heavy on reviews and discussions of books. Having a bibliographic extension through which to run all the pages is fantastically helpful. However, I have an aesthetic concern.

I am currently using the skin gumax 3.3. When I load Special:Bibliography the skin does not wrap around it. Instead I just get an old fashioned dull as dishwater web page. All the links are there but the skin is not. I tried switching to Monobook, with identical results. Is this a problem with the skin or a special challenge presented by BibWiki, or am I missing something in my settings? Do I need to use the special skin (BibWikiMonobook) you created in order to get an aesthetically pleasing view of the BibWiki page?

I had wondered if there might be something going that is related to the following statement I find when I view source:

var stylepath = false;

which is as opposed to

var stylepath = "/wiki/skins";

which I see on pages that are working aesthetically. I confess to being a bit of a neophyte here and really have no idea how to fix this. Thanks.

P.S. (directed to Wolfgang) Would you prefer further questions regarding BibWiki be directed to your forum, or is this a good place to post them? --rowenrye 19:53, 8 February 2008 (UTC)


 * Can you send me or post a screenshot? I've installed gumax and the skin works rather fine for me (screenshot) though I have to mention that the toolbox is missing. You can use both the forum and this page; --Wplaschg 08:39, 14 February 2008 (UTC)