https://bugzilla.wikimedia.org/show_bug.cgi?id=28066

           Summary: Collections should accept "chapters" consisting of
                    "only one wikipage" and format them properly
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://pt.wikibooks.org/w/index.php?title=Wikilivros:L
                    ivros/Otimiza%C3%A7%C3%A3o&diff=prev&oldid=160315
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Collection
        AssignedTo: [email protected]
        ReportedBy: [email protected]


(copied from
[[Help:Books/Feedback/Archives/2010/March#Bug:_It_is_not_possible_to_define_a_chapter_to_have_only_one_wikipage]]
since PediaPress bug tracker system still doesn't work: 
[[Help:Books/Feedback/Archives/2010/November#Problem_with_login_at_code.pediapress_(continuation)]]
)


When we try to use the book functionality for creating PDF versions of
wikibooks, it's likely that each chapter will be made of exactly one wikipage
of the wikibook. For example, suppose we have this book:
* Sample book/Sample first chapter
* Sample book/Sample second chapter

So, when we try to create the PDF using this extension, there is no way to make
a nice PDF because the current options are:
1) To use this syntax:
:[[Sample book/Sample first chapter|Sample first chapter]]
:[[Sample book/Sample second chapter|Sample second chapter]]

or

2) To use this syntax:
;Sample first chapter
:[[Sample book/Sample first chapter|Sample first chapter]]
;Sample first chapter
:[[Sample book/Sample second chapter|Sample second chapter]]

In both cases the resulting PDF isn't properly formated:
1) In the first situation the chapter's names are formated as if they were
subchapters, not as if they were chapters (and at Wikibooks the pages are
usually chapters, so **the titles should be centralized and with lines at
top/bottom **) and "Sample second chapter" usually starts in the middle of a
page (instead of at the top, because the previous page isn't filled with blank
space)

2)The second case shows each title two times (one centralized and one left
aligned). If this is the way to solve the formating of title and make each
chapter to start in a new page, then it is needed some way to suppress the
uggly repetition of the same title with two diferent formatings.

The extension would really produce better results for Wikibooks books if it
could handle this cases properly.

Maybe the following syntax should work and give the expected results:
;[[Sample book/Sample first chapter|Sample first chapter]]
;[[Sample book/Sample second chapter|Sample second chapter]]
(this was my first try to fix the bug, but unfortunatelly it didn't work)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to