Doc->Bug #69439 [Opn]: Canonical and short URLs for class methods should be language agnostic
| From: | salathe@php.net | Date: | Mon, 13 Apr 2015 22:52:21 +0000 |
| Subject: | Doc->Bug #69439 [Opn]: Canonical and short URLs for class methods should be language agnostic | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-21037@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69439&edit=1
ID: 69439
Updated by: salathe@php.net
Reported by: jmikola@php.net
Summary: Canonical and short URLs for class methods should be
language agnostic
Status: Open
-Type: Documentation Problem
+Type: Bug
-Package: Documentation problem
+Package: Website problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Moved package to "PHP.net Website problem" as this should be fixed in web/php.git
Previous Comments:
------------------------------------------------------------------------
[2015-04-13 21:19:44] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69439&edit=1