php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45060 php.net/extname should redirect to 'book.extname' instead of 'ref.extname'
Submitted: 2008-05-21 16:58 UTC Modified: 2008-06-17 12:20 UTC
From: takagi@php.net Assigned: philip (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2008-05-21 16:58 UTC] takagi@php.net
Description:
------------
Last year we changed the structure of PHP manual.
 http://www.php.net/archive/2007.php#2007-10-03-1
The top page of each extension module became 'book.extname.php' instead of 'ref.extname.php', but php.net/extname still redirects to 'ref.extname.php'.
Now we have some extensions which doesn't have 'ref.extname.php' (e.g. PDO), so php.net/extname should redirect to 'book.extname.php' instead of 'ref.extname.php'.


Reproduce code:
---------------
1. Set preferred language to 'Japanese'.
2. browse 'http://php.net/pdo'

Expected result:
----------------
Redirect to Japanese documentation of PDO (http://php.net/manual/ja/book.pdo.php)

Actual result:
--------------
Redirect to English documentation of PDO.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-21 17:01 UTC] takagi@php.net
It seems that 'phpweb/backend/manual-lookup.sqlite' should contain the record for 'book.extname.php'.
 [2008-05-23 20:26 UTC] philip@php.net
Also, currently only non-sqlite enabled mirrors properly redirect to book.foo first.

Example:
 - http://us.php.net/lzf (no sqlite --> book.lzf)
 - http://us3.php.net/lzf (sqlite --> ref.lzf)

The sqlite db build script:
 - http://cvs.php.net/viewvc.cgi/systems/gen-phpweb-sqlite-db.php

 [2008-06-13 21:22 UTC] philip@php.net
It appears that manual-lookup.sqlite has not been successfully generated since April 10, 2008. Confirmation and debugging requires access to the rsync box.

Assigning->bjori

 [2008-06-17 12:20 UTC] bjori@php.net
The SQLite database has now been updated and seems to be working fine.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 03:01:33 2024 UTC