summaryrefslogtreecommitdiff
path: root/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
blob: cccd53d0530b924f9ae54dbec3505e4063fe19f2 (plain)

The IkiWiki::pagetitle function does not respect title changes via meta.title. It really should, so that links rendered with htmllink get the proper title in the link text.

--[[madduck]]

Agreed. [[todo/using_meta_titles_for_parentlinks]] contains a beginning of solution. A few quick notes about it:

  • Using inline would avoid the redefinition + code duplication.
  • A few plugins would need to be upgraded.
  • It may be necessary to adapt the testsuite in t/pagetitle.t, as well.

--[[intrigeri]]

It was actually more complicated than expected. A working prototype is now in my meta branch, see my userpage for the up-to-date url. Thus tagging [[patch]]. --[[intrigeri]]

Joey, please consider merging my meta branch. --[[intrigeri]]