Edit report at https://bugs.php.net/bug.php?id=77637&edit=1
ID: 77637 Updated by: [email protected] Reported by: peter dot v dot vasilev at gmail dot com Summary: Documentation for some functions on PHP.net not displaying Status: Closed Type: Bug Package: Website problem Operating System: Ubuntu PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: I have updated the error page in this case to be more clear that the page (from an inactive manual translation) has gone away deliberately and added links to alternative pages (i.e. other languages). Thanks for your bug report and suggestions. Previous Comments: ------------------------------------------------------------------------ [2019-03-26 21:46:37] [email protected] Automatic comment on behalf of salathe Revision: http://git.php.net/?p=web/php.git;a=commit;h=4716c2ba20e7d9183e333711c560aca060f1d65f Log: friendlier error page for manual pages under inactive languages (fix bug #77637) ------------------------------------------------------------------------ [2019-03-11 13:59:42] [email protected] Related To: Bug #77724 ------------------------------------------------------------------------ [2019-02-23 11:46:30] [email protected] Just to provide some more details for context. The builds of the Bulgarian translation of the manual have not been done since 2010 [1]. Similarly, several other unmaintained translations are not built [2]. This is because the sources for those translations are not being kept up to date [3]. Due to the way the PHP manual is distributed to the php.net website mirror servers, the old versions of those translations were mistakenly still being published; mostly with the English language version of the pages where any translation did not occur. This resulted in the "translated" versions of the manual containing mostly English with some vastly out of date translated pages. Recently, the pushing of those inactive, out-of-date translations to the website mirrors was stopped. This results in the 404 Not Found reported in this bug report. The expectation is that Google will stop serving those pages in search results eventually; hopefully sooner rather than later. sinus+php at sinpi dot net's suggestion is great, and should be done as a good way of directing visitors hitting those pages to their English counterparts. [1] https://github.com/php/web-php/commit/4dfcbff072 [2] https://github.com/php/web-php/blame/master/include/languages.inc#L50-L85 [3] http://doc.php.net/revcheck.php ------------------------------------------------------------------------ [2019-02-21 16:55:11] sinus+php at sinpi dot net It would probably be beneficial if localized manual pages were getting redirected to /en/ in case of a missing page. ------------------------------------------------------------------------ [2019-02-21 16:53:20] sinus+php at sinpi dot net The same happens to pages in the /pl/ section, so it would seem there's something wrong with localized manual pages in general. ------------------------------------------------------------------------ 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=77637 -- Edit this bug report at https://bugs.php.net/bug.php?id=77637&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
