Last modified: 2011-03-14 00:29:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10463, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8463 - Chosen skin should not affect printable version
Chosen skin should not affect printable version
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 10183
Blocks: 27292
  Show dependency treegraph
Reported: 2007-01-02 18:32 UTC by Piotr Kubowicz
Modified: 2011-03-14 00:29 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Piotr Kubowicz 2007-01-02 18:32:18 UTC
Clicking on "printable version" link produces page which is not exactly ready for print. The most important 
issue is that blue icons of external links do not disappear (you can see this in the bottom of http:// This is very distracting.

Also, skin used by user affects how the printable version is presented. For example, enabling Standard skin 
( would 
cause some navigational templates (using "noprint" CSS class) to appear. Printable versions should be 
independent from chosen skin.

Additionally to fixing problem with external links, it would be fine if there was a way to change CSS used in 
print version. I see this as introducing [[MediaWiki:Printable.css]] page, similar to 
[[MediaWiki:Common.css]]. Users should also have possiblility to define their own [[User:X/Printable.css]].
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-02 18:57:52 UTC
Please open separate bugs for distinct requests in the future, even if they're
related.  This allows us to more effectively monitor the status of bugs by use
of fields like Resolution.

1) I've removed the blue icons for print in r18768.

2) Presently the skin chosen does affect the printable version.  This could be
changed easily enough, but should it?  I don't see why.  I'm repurposing this
bug to that.

3) This is bug 2889.  For now, you can change rules for printing by using CSS
media declarations, such as @media print { insert rules here }, in Common.css or
Monobook.css or whatever.  These will not presently show up if you click
"printable version", but they'll be used when you actually print.
Comment 2 darklama 2007-01-02 22:13:54 UTC
The standard skin doesn't use commonPrint.css, but wikiprintable.css, this is
part of the issue of whichever skin is used effecting the printable version.
These and any other stylesheets added only when printable=yes is passed I think
should be combined to reduce duplications and make custom styling more
predictable between different skins. The blue icons and navigational templates
are/were just two examples of the problem.

The inconsistcy of printable=yes with printing and print preview has become a
problem recently on English Wikibooks, where people trying to make pages
consistent across printing and converting into other formats like PDF, can't
rely on people using different skins to get the same results from printable=yes
which is just confusing people.

A fix to provide consistency would leaviate confusion and allow printable=yes to
be used as people seem to expect. Removing all other skins but one used for
printing would solve this issue and bug 2889 would provide us with the means to
change the print stylesheet.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-02 23:46:03 UTC
Why do we want more consistency for printing than for screen display?  Surely if
I've chosen Monobook I should get Monobook whether for screen or print.
Comment 4 Rob Church 2007-01-02 23:46:48 UTC
I would assume that the printing format would be the same regardless of the skin
used for display...
Comment 5 Piotr Kubowicz 2007-01-03 11:36:47 UTC
Ad. 1 - cannot see any difference in Opera and Firefox. Blue icons are still there.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-03 17:04:21 UTC
Changes to trunk do not take effect immediately.  It's fixed on WMF sites now.
Comment 7 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-03 18:15:29 UTC
Or it will be shortly, anyway.
Comment 8 SB_Johnny 2007-01-05 18:28:49 UTC
I'm not sure I completely understand this bug, but I have altered my monobook css and js specifically to alter the printouts 
(primarily in that it renders subpages in a more attractive way. I'd prefer we not standardize printout styles.
Comment 9 Gernot Hillier 2008-05-06 08:02:16 UTC
Just wanted to drop in my 0.02 cents here. I'm personally in strong favor of having the actual skin influencing the print stylesheet. I see a connection between the way people prefer to see Wiki pages on screen and in print. 

We have a use case here, where several teams are using one MediaWiki instance for different projects. One team wants to see a very special printing format (e.g. some page breaks, section numbers, etc), so I'd like to provide them with their own printing format which is only valid for them. The natural way to do that seem to be skins for me.

Indeed, I'm just about to submit a patch which allows overriding of commonPrint.css in own skins based on MonoBook.
Comment 10 Derk-Jan Hartman 2009-05-12 22:55:55 UTC
I think most of this has been solved due to [[MediaWiki:Print.css]] or would be solved by the centralization of plainlinks #18708. Suggest this is closed in favor of more specific bugs.
Comment 11 darklama 2009-05-29 17:53:30 UTC
(In reply to comment #10)
> I think most of this has been solved due to [[MediaWiki:Print.css]] or would be
> solved by the centralization of plainlinks #18708. Suggest this is closed in
> favor of more specific bugs.

If User:Name/print.css also works then I agree this bug should be closed as fixed,
because it could be used by people who have voiced there opinion that skins should
effect the print version.
Comment 12 Marcin Cieślak 2011-03-13 23:52:04 UTC
As we have now bug 10183 fixed, I think it opens a possibility to create a custom print stylesheet for all skins.

Note You need to log in before you can comment on or make changes to this bug.