php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77637 Documentation for some functions on PHP.net not displaying
Submitted: 2019-02-18 16:38 UTC Modified: 2019-03-26 21:49 UTC
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: peter dot v dot vasilev at gmail dot com Assigned: salathe (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peter dot v dot vasilev at gmail dot com
New email:
PHP Version: OS:

 

 [2019-02-18 16:38 UTC] peter dot v dot vasilev at gmail dot com
Description:
------------
When trying to open the documentation for some functions on PHP.net I get "Not Found" error this has been happening for about a week now.

Just go to: http://php.net/manual/bg/function.exec.php

Tested in Chrome & Firefox.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-18 16:50 UTC] salathe@php.net
The Bulgarian translation of the manual is not being published.  The English language page is available at http://php.net/manual/en/function.exec.php and several other languages are available, but not Bulgarian.
 [2019-02-21 16:53 UTC] 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.
 [2019-02-21 16:55 UTC] 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-23 11:46 UTC] salathe@php.net
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-03-26 21:46 UTC] salathe@php.net
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-26 21:46 UTC] salathe@php.net
-Status: Open +Status: Closed
 [2019-03-26 21:49 UTC] salathe@php.net
-Assigned To: +Assigned To: salathe
 [2019-03-26 21:49 UTC] salathe@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 15:01:28 2024 UTC