php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69439 Canonical and short URLs for class methods should be language agnostic
Submitted: 2015-04-13 21:19 UTC Modified: 2015-04-13 22:52 UTC
From: jmikola@php.net Assigned:
Status: Open Package: Website problem
PHP Version: Irrelevant OS:
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: jmikola@php.net
New email:
PHP Version: OS:

 

 [2015-04-13 21:19 UTC] jmikola@php.net
Description:
------------
Classes appear to be correct[1]:

  <link rel="canonical" href="http://php.net/manual/en/class.iterator.php">
  <link rel="shorturl" href="http://php.net/iterator">

Methods include the language-specific URL instead of "http://php.net/class.method":

  <link rel="canonical" href="http://php.net/manual/en/iterator.rewind.php">
  <link rel="shorturl" href="http://php.net/manual/en/iterator.rewind.php">

Functions appear to be correct:

  <link rel="canonical" href="http://php.net/manual/en/function.iterator-to-array.php">
  <link rel="shorturl" href="http://php.net/iterator-to-array">

----

[1]: Iterator may be an edge case, since http://php.net/iterator is also the canonical URL for http://php.net/language.oop5.iterations -- the Iterator interface like needs to be http://php.net/class.iterator.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-13 22:52 UTC] salathe@php.net
-Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: Website problem
 [2015-04-13 22:52 UTC] salathe@php.net
Moved package to "PHP.net Website problem" as this should be fixed in web/php.git
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 06:01:30 2024 UTC