Edit report at https://bugs.php.net/bug.php?id=66847&edit=1
ID: 66847 Updated by: [email protected] Reported by: kentfredric at gmail dot com Summary: svn.php.net style sheets useless for viewing source code -Status: Open +Status: Verified Type: Bug Package: Website problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: sobak Block user comment: N Private report: N New Comment: Hi, I've pushed commit which improves code listings on svn.php.net. Now it should be more way more readable, even without highlighting. "An alternative would be simply un-blocking the ability to view source files raw in VC" I have no abbility to do this but I will talk to competent people. Thanks for your report. Previous Comments: ------------------------------------------------------------------------ [2014-03-07 15:41:44] kentfredric at gmail dot com Description: ------------ I was just looking in to see the source of a PEAR module hosted on svn.php.net, to see how it was implemented: http://svn.php.net/viewvc/pear/packages/Var_Dump/trunk/Var_Dump.php?revision=237750&view=markup To my horror, I noticed that: 1. The source code is horribly garish in terms of colouring, here, no colour at all would be preferred to the intermittent low-contrast purple banding. 2. The source code lacks CSS bits to preserve indentation, further decreasing legibility. The CSS Part is easy enough to resolve: white-space: pre-wrap And it would be good to have the lines in monospaced text: font-family: monospaced And it should be safe to stick that in `div#vc_file > table` 's style rule. An alternative would be simply un-blocking the ability to view source files raw in VC For instance, gentoo's install of VC allows you to view source, by clicking a "Download" on each source file, giving http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-perl/Algorithm-C3/Algorithm-C3-0.80.0.ebuild?revision=1.1 Which is quite legible. However .... svn.php.net seems to have explicitly blocked this function for some reason: http://svn.php.net/viewvc/pear/packages/Var_Dump/trunk/Var_Dump.php?revision=237750 -> --- Checkout view is disabled HTTP Response Status 403 Forbidden --- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66847&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
