Last modified: 2008-05-06 23:24:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13831 - Add a MediaWiki:Printable.css page
Add a MediaWiki:Printable.css page
Status: RESOLVED DUPLICATE of bug 2889
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: css
  Show dependency treegraph
 
Reported: 2008-04-23 23:01 UTC by Platonides
Modified: 2008-05-06 23:24 UTC (History)
2 users (show)

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


Attachments

Description Platonides 2008-04-23 23:01:07 UTC
+++ This bug was initially created as a clone of Bug #8463 +++

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 Brion Vibber 2008-04-23 23:47:56 UTC
Note that you can put print-specific rules into the regular stylesheets with @media selectors like so:

.myclass {
  color: red;
}

@media print {
  .myclass {
    color: black;
    font-weight: bold;
  }
}

See docs at: http://www.w3.org/TR/CSS21/media.html#at-media-rule


However, these will only trigger for actual printing, and not onscreen when the 'printable version' link is clicked, so this may not be entirely satisfactory.
Comment 2 Platonides 2008-04-24 20:30:29 UTC
Yeah, i was expecting that "solution" to come up, and that's also the issue. I arrived to that #8463 when i was reported that a media class wasn't showed on preview (they were uing printable=yes). Although the documentation at http://meta.wikimedia.org/wiki/Help:Printable he was reading isn't too clear.
Currently, the only way to have them working on printable would be via javascript hacks.
Comment 3 Gernot Hillier 2008-05-06 08:04:28 UTC
Isn't this a duplicate to bug 2889?
Comment 4 Brion Vibber 2008-05-06 23:24:05 UTC

*** This bug has been marked as a duplicate of bug 2889 ***

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


Navigation
Links