]> sipb.mit.edu Git - ikiwiki.git/commitdiff
please don't make use of [[!meta title]] in parentlinks mandatory...
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>
Mon, 2 Feb 2009 19:31:27 +0000 (14:31 -0500)
committerJoey Hess <joey@kitenet.net>
Mon, 2 Feb 2009 19:31:27 +0000 (14:31 -0500)
doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn

index cdd8a03b1a26bd400b2a42354487632fb98fc28b..86a72a4e2ee24a431ad4633e3d2d2c480fe14c56 100644 (file)
@@ -185,3 +185,20 @@ So, looking at your meta branch: --[[Joey]]
   `pagetemplate` hook. (Although this would eliminate handling of
   `title_overridden` -- but that is little used and would not catch
   all the other ways titles can be overridden with this patch anyway.)
+
+> I'm not a reviewer or anything, but can I chime in on changes to pagetitle?
+> I don't think having meta-titles in wikilinks and the parentlinks path by
+> default is necessarily a good thing. I don't consider the meta-title of a page
+> as used in `<title>` to be the same thing as the short title you
+> want in those contexts - IMO, the meta-title is the "formal" title of the page,
+> enough to identify it with no other context, and frequently too long to be used
+> as a link title or a parentlink, whereas the parentlinks title in particular
+> should be some abbreviated form that's enough to identify it in context.
+> [tbm](http://www.cyrius.com/) expressed a similar opinion when I was discussing
+> ikiwiki with him at the weekend.
+>
+> Having a `\[[!meta abbrev="..."]]` that took precedence over title
+> in such contexts might be a good way to fix this? Or if your preference goes
+> the other way, perhaps a `\[[!meta longtitle=""]]` could take precedence
+> when generating the `<title>` and the title that comes after the parentlinks.
+> --[[smcv]]