Edit report at https://bugs.php.net/bug.php?id=66861&edit=1
ID: 66861 Updated by: [email protected] Reported by: eldmannen+php at gmail dot com Summary: Color sidebars <li>s for deprecation/new/... Status: Open Type: Feature/Change Request Package: Website problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: That's the non-trivial bit. :) Bjori (and others), any thoughts? phd: namespaced attribute on the linked function. element? Additional attribute in the versions.xml entry for the function (eg <function name='foo' from='PHP 5' deprecated-in='PHP 7' />)? Something else? I think I'm leaning towards the versions.xml idea at first blush, but I don't know if we want to start overloading that sidecar file with extra metadata. Previous Comments: ------------------------------------------------------------------------ [2015-01-06 16:39:59] cmbecker69 at gmx dot de It seems to me that it would be a good start if all deprecated functions would be marked with a respective CSS class. That would allow for some kind of highlighting (could be even done with a custom stylesheet), and easy sectioning via JS (better than nothing :)). ------------------------------------------------------------------------ [2015-01-06 16:17:11] [email protected] I think its an excellent idea. Might not be trivial to implement though ------------------------------------------------------------------------ [2015-01-03 14:53:47] eldmannen+php at gmail dot com Another mockup. Here we move all the deprecated functions into a separate section. http://i.imgur.com/EH1d9ew.png ------------------------------------------------------------------------ [2015-01-03 12:22:16] [email protected] I quite like the idea of showing deprecation warnings on old methods however I am not sure how this could be achieved design wise - would like to see some ideas or designs on approaches. :) ------------------------------------------------------------------------ [2014-03-13 16:58:53] [email protected] Why don't we just append or prepend the word deprecated? I guess that is language-specific, though. I vote no on changing color for deprecated functions because honestly you are more likely to click on the items that don't match. We could make it a bit transparent or something, but that treatment to the comments hasn't been well received. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=66861 -- Edit this bug report at https://bugs.php.net/bug.php?id=66861&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
