Extension talk:BookManager

From mediawiki.org
Latest comment: 11 years ago by Mlpearc in topic Adding categories


Does this interface with the existing collection extension?--Eloquence 19:06, 2 March 2011 (UTC)Reply[reply]

In some sense, yes. The initial syntax for defining "which pages belongs to a book" was borrowed from that used in Collection's pages. An advantage is that this would reduce duplication of effort from Wikibooks' editors while organizing the books, since both the "automatic navigation bars", and "pdf/odf versions" could be made from an single page (the book's collection page), where the list of chapters would be stored.
I think BookManager should, ideally, act as a complement to Collection, addressing the specific needs of Wikibooks projects (Wikisources too?) and, if possible, both extensions should share a common list or table of chapters. Currently, this extension tries to provide the third feature suggested by Whiteknight on English Wikibooks (and requested on bugzilla:15073#c0), which should serve as a replacement for the current "manual navigation bar" used on Wikibooks projects.
Helder 23:07, 2 March 2011 (UTC)
Really, but in the future (when implemented the database in place of the array) it will work in a way somewhat different from bugzilla:15073, since not all sub pages are books and not all books are in sub pages, and for this reason in long-term we have plans to extend the categories with custom sortkeys that can be edited from a special page, and this is where the book manager is distanced from the collection extension. Raylton P. Sousa 17:43, 5 March 2011 (UTC)Reply[reply]

Book manager error[edit]

On www.everythingfoodanddrink.org/wiki/Main_Page

If you go to Special pages >> Other special pages >> then click on >>Special:PrintVersion ( which is actually displayed as &+l+t+;printversion&+g+t+; )

the following error is displayed.

Fatal error: Call to a member function getVal() on a non-object in
/home/every821/public_html/w/extensions/BookManager/BookManager.body.php on line 421

BookManager.body.php line 421 reads

$book = !is_null( $book ) ? $book : $request->getVal( 'book' );

No clue what is wrong. I don't see any other errors with this extension or Extension:Collection at the moment but, I have created a book of 4 pages and downloaded it to a file so, everything else seems to be working fine.

If you don't mind reply on my talk page. Thank you. Mlpearc powwow 06:09, 26 August 2011 (UTC)Reply[reply]

I've reported these problems as bug #30583 and bug #30585. Helder 12:30, 26 August 2011 (UTC)

Adding categories[edit]

At the same site as above www.everythingfoodanddrink.org/wiki/Main_Page, this extension adds the page name as a category to the bottom of the page within the HotCat category box. I have edited out the require once statement from LocalSettings.php but, will gladly undo if someone would like to try and figure out whats causing the error. Mlpearc (powwow) 19:28, 3 March 2012 (UTC)Reply[reply]