Last modified: 2014-11-11 10:19:02 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 T18296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16296 - Hide "(Redirected from …)" notice when printing articles
Hide "(Redirected from …)" notice when printing articles
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.24rc
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
gci2014
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-10 15:29 UTC by Derk-Jan Hartman
Modified: 2014-11-11 10:19 UTC (History)
3 users (show)

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


Attachments

Description Derk-Jan Hartman 2008-11-10 15:29:20 UTC
Currently when you print a page, the contentSub section is printed as well. At least on articles, this seems not desired I think (it's metadata right?). I suggest we add a definition to CommonPrint.css

.ns-0 #contentSub,

should be added to the list of .noprint items items (line 100) of commonPrint.css
Comment 1 Derk-Jan Hartman 2008-11-10 15:40:16 UTC
What this prevents is that you get "Redirected from someothertitle" in your print-outs.
Comment 2 Andre Klapper 2014-08-12 15:28:55 UTC
Confirming that this is still an issue in 1.24, with https://en.wikipedia.org/wiki/Michael_jackson when just going to "File > Print" in my browser.
Same for "Printable version" in the sidebar which would be https://en.wikipedia.org/w/index.php?title=Michael_jackson&printable=yes
Comment 3 Bartosz Dziewoński 2014-11-08 14:07:23 UTC
We probably can't just hide #contentSub, as there's all kinds of other things that get put inside it.

(Grep for /->(setSubtitle|appendSubtitle|addSubtitle|addBacklinkSubtitle)/.)
Comment 4 Bartosz Dziewoński 2014-11-08 14:09:34 UTC
Duh, so let's wrap the message in another element and hide that instead. Easy-peasy.
Comment 5 George Orwell III 2014-11-11 10:19:02 UTC
What about #contentSub2 ?

It's used in instances like   View or restore # deleted edits?   in un-deletions for example.

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


Navigation
Links