Last modified: 2011-04-14 15:12:45 UTC
Subpages are perfect for organizing chapters inside books in Wikibooks. But some users are unhappy with how the page level 1 header is rendered using exactly the same syntax than the used for linking. It should be a way to display the superpage and subpage titles in a more aesthetic and more typical form for a book. One way would be to divide the header level 1 in one line per each superpage and subpage, or using different font sizes or font decorations. The slash should not be displayed since it is a syntax artifact rather than a part of the book naming scheme. The second line with up links to parent pages could be merged with this new way of displaying the module titles, so there is no redundacy. This rendering should be activated through a configuration option so other projects are not disturbed.
A better solution might be to use the local styleshee to affect these elements rather than building it into the other configuration. Wrap each individual element of the header and breadcrumbs with html elements and have unique classes for each level. For example, you could have: .heading-level<N> where <N> is the subpage number starting at 0 for the top level. The slashes should each be wrapped in .headerslash or somesuch, so the stylesheet could just turn off their display.
> A better solution might be to use the local styleshee to affect these elements > rather than building it into the other configuration. Wrap each individual > element of the header and breadcrumbs with html elements and have unique classes > for each level. For example, you could have: .heading-level<N> where <N> is the > subpage number starting at 0 for the top level. The slashes should each be > wrapped in .headerslash or somesuch, so the stylesheet could just turn off their > display. That would be a partial solution, but it wouldn't affect the possibly counterintuitive entry of page tities into the "Go" bar, nor would it affect the page title (as in, in the browser). Looking at the Monobook.php implementation, even the stylesheet issue would seem to be nontrivial, although perhaps not difficult for someone a bit more familiar with the skin classes than I. A more complete solution would be to make subpage-ness distinct from page name, but that would certainly be a much more difficult change to make.
We have made some mockups for illustrating how this could be displayed. We have tried to preserve the possibility of copy-pasting the page title for a link. See: http://es.wikibooks.org/wiki/Usuario:Ciencia_Al_Poder/Pruebas