Last modified: 2013-03-13 11:36:55 UTC
There is no config setting to remove the printable version link from the toolbox. Default it to true and allow folks to use as such: $wgPrintableVersionLink = false;
Should be trivially do-able by inserting a usage or 2 into SkinTemplate, and one into SkinLegacy
You can use CSS to hide the link.
Is there even a large enough use case for such a config option to be added? I can't imagine many communities that would want to hide that, For the few that can, Site/User JS/CSS would probably be enough. Suggesting WontFix...
Thanks for the CSS idea. Can someone provide the CSS for this? I would have used the "li" id, but the printable version link doesn't have one.
Rather than CSS I'd use SkinTemplateOutputPageBeforeExec to erase print from the nav_urls.
It is easy, only look for the id: #t-print { display:none; } If than an nav group is empty, you have to look for that id to hide that also.
Unfortunately that doesn't work due to this bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=34264
WONTFIXing this, No one has really given a use case for this, and for the small miniority that would want this site css/js should be enough.