Tim Starling wrote:
The sequence of events should be:
- Text is added to the buffer, including placeholder comments
- OutputPage::output is called
- Placeholders are processed
- Placeholders are turned off using $sk->postParseLinkColour(false)
- Control is passed to $sk->outputPage()
- Navigation links are constructed by calling Skin::makeLink() and outputting them directly, no more post-processing is done
Various special pages construct additional bits such as the subtitle in their own function, which happens before passing to $sk->outputPage().
-- brion vibber (brion @ pobox.com)