I've checked in changes to skin/parser/output/stylesheets to rework the
"printable version". Instead of a separate rendering, printable mode
simply invokes the printable stylesheet.
Why's this good? Mainly because you don't need to click the "printable
version" link at all anymore! Just print the regular page view from
your browser, and it'll pick up the linked print stylesheet to remove
unnecessary UI elements, flatten wikilinks into plain text, and expand
embedded URL in external links.
The "printable version" link is still there, and it'll invoke the print
stylesheet for on-screen view as well if you feel like it. It otherwise
shouldn't change rendering; if we ever get the parser cache finished...
I've tested it successfully with Mozilla 1.7b, Opera 7.23/Win, Safari
1.2.1, and IE/Mac 5.2, and it mostly works with IE/Win 6.0 (see below).
There are a couple outstanding problems:
* In IE/Win, links in colored or underlined text will incorrectly
appear as plain black, since IE/Win doesn't understand the 'inherit'
value.
* The page title is not shown in Nostalgia skin printable view.
* Part of the footer is duplicated in the output and will be visible as
such in a styleless user agent (lynx, really old Netscape, etc).
* Some render options aren't totally handled right for printable, such
as ? brokenlinks.
-- brion vibber (brion @
pobox.com)