Last modified: 2011-07-31 19:01:54 UTC
The purpose of the 'Contents box' is to act as an index, and provide a document relevant URI shortcut collect. It's presence is sensible in an interactive environment. However, its presence does not make any sense in the printed context. The presence of the 'Contents box', and all of included header data, is a massive waste of paper space, and mandates a massive correlated waste of time to fix, in order to remove, before printing. Thus, the 'Contents box' should be removed during the production of the "Printable version"s of Wikipedia documents. Otherwise, an option should be available to produce 'Contents box' free Wikipedia documents in the "Print/export" section.
see r88502, but I'm interested in hearing other opinions, too.
Going to revert this fix per comment on r88502: I think the table of contents on paper is not stupid, it is often useful. If you don't want to print the table of contents then klick on [hide] and the whole box with the table of contents gets hidden in the print version. So I'm thinking this would be better to fix with a gadget.
(In reply to comment #2) > So I'm thinking this would be better to fix with a gadget. You don't need a gadget. This feature already exists. See bug 482. But this feature doesn't work anymore since porting to resource loader in r78941 because the class tochidden is not set by JavaScript anymore. tochidden is still in commonPrint.css: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/commonPrint.css?view=annotate#l120 Please revert r88502 and repair tochidden in r78941.
Created attachment 8607 [details] Patch to add/remove css class tochidden in toggleToc Patch to reactivate the css class 'tochidden' for bug 482 as a follow-up to r78941.
r89349
*** Bug 30155 has been marked as a duplicate of this bug. ***
While clicking the 'Content' section [hide] button colapses the 'Content' section section in the interactive version, it does not carry this desire thru after selection of "Print/export -> Printable version". The content is included in the 'Printable version', as always. So, this 'feature' is still, only half working.
This was fixed, it just doesn't appear to be live on wikimedia foundation sites yet. It works fine on my testwiki. Closing FIXED again.