[Moin-user] page header and first line

Thomas Waldmann tw-public at gmx.de
Mon Jun 4 06:25:28 EDT 2007


solo turn wrote:
> are you sure?

Yes.

About what? :)

> how you get:
>  * top heading of the page

a) If you mean the h1, it is:

= whatever =

b) If you mean the navigation: that has the theme to do.

The point is that these are 2 separate things.

In earlier times moin used to do magic and "fake" a h1 in the content 
area using the technical pagename, clickable for backlinks. Your regular 
headlines got shifted by one, so = h = was rendered as a h2. So if your 
pagename was NotVeryNice, you got <h1>NotVeryNice</h1> and of course 
there was a feature request to be able to override this by some "#title 
This is a nice page title" processing instruction (having the 
consequence, if still used for backlinks, that it would search for 
something different than you see on screen).

It was my decision to fix the problem at the root, just removing the 
problematic magic, instead introducing more magic to handle the bad side 
effects.

Of course this means some work for theme writers, who need to update 
their theme code and for wiki owners, who have to check their page 
rendering, but better some one time effort than being broken forever. :)

>  * which you can click

a) You can't click on headings.
b) That has the theme to do, see how modern does it.

>  * which shows up in the print view

a) It for sure shows there as it is just a h1 generated from the 
content. If you don't get a h1, maybe your content has no h1.
b) The theme may or may not show the "technical name of the page". If it 
is shown, it should be rather small print at the bottom.

>  * and is just one time there

If a theme is up-to-date, this should be no problem.

> i did not see any style doing this. not the moin default styles nor
> the ones in theme market.

Try modern. classic and rightsidebar maybe too (but they are less well 
updated and tested by me).

> btw, could you explain how navigation and content is separated in a
> wiki where the whole page is made up containing a lot of links :)

Of course you can (and usually do) have WikiLinks in the content area. 
But, if you like, you can choose to [:MakingNiceLinks:Make nice Links].
And if you begin that other page with = Making nice Links =, your users 
won't see MakeNiceLinks in the content (nor in the printout of the 
content), only in the Navigation area (or some small-print at the bottom 
of the printout).






More information about the Moin-user mailing list