Extension talk:BookManager: Difference between revisions

From mediawiki.org
Latest comment: 12 years ago by Mlpearc in topic Book manager error
Content deleted Content added
mNo edit summary
Line 5: Line 5:
:[[b:pt:User:Helder.wiki|Helder]] 23:07, 2 March 2011 (UTC)
:[[b:pt:User:Helder.wiki|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. [[User:Raylton P. Sousa|Raylton P. Sousa]] 17:43, 5 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. [[User:Raylton P. Sousa|Raylton P. Sousa]] 17:43, 5 March 2011 (UTC)

== Book manager error ==

On [http://www.everythingfoodanddrink.org/wiki/Main_Page www.everythingfoodanddrink.org/wiki/Main_Page]

If you go to Special pages >> Other special pages >> then click on >><span class="plainlinks">[http://www.everythingfoodanddrink.org/wiki/Special:SpecialPages Special:PrintVersion]</span> ( 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. [[User:Mlpearc|<span style='font-family:;color:#800020'>'''Mlpearc'''</span>]] <small>[[User_talk:Mlpearc|<span style='font-family:;color:#CFB53B'>'''powwow'''</span>]]</small> 06:09, 26 August 2011 (UTC)

Revision as of 06:09, 26 August 2011

Extension:Collection

Does this interface with the existing collection extension?--Eloquence 19:06, 2 March 2011 (UTC)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

Book manager error

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