Bug #74897 [Asn->Csd]: Links to "warning" & "fatal error" have a blank href

From: Date: Thu, 05 Mar 2020 08:23:11 +0000
Subject: Bug #74897 [Asn->Csd]: Links to "warning" & "fatal error" have a blank href
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17373@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74897&edit=1 ID: 74897 Updated by: cmb@php.net Reported by: bug-report@php.net Summary: Links to "warning" & "fatal error" have a blank href -Status: Assigned +Status: Closed Type: Bug Package: Documentation problem PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2020-03-05 08:22:44] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=349307 Log: Fix #74897: Links to &quot;warning&quot; &amp; &quot;fatal error&quot; have a blank href Let's be pragmatic, and just use &lt;constant&gt; elements as in the rest of docs, and hope that PhD will support automatically linking these elements sometime. ------------------------------------------------------------------------ [2020-03-05 08:17:02] cmb@php.net Indeed, this is a limitation of PhD, but given that we usually just write <constant>E_WARNING</constant> etc., we should do this in these few cases which try to link directly as well. If PhD ever supports automatic linking of constants, then we'd get the links for free. ------------------------------------------------------------------------ [2018-01-29 23:14:01] vrana@php.net The links in the sources are correct, this loooks like a PhD problem. ------------------------------------------------------------------------ [2017-08-29 12:37:12] peehaa@php.net The same goes on at the docs for the include_path ini setting: http://php.net/manual/en/ini.core.php#ini.include-path ------------------------------------------------------------------------ [2017-07-11 07:38:19] bug-report@php.net Description: ------------ This page... http://php.net/manual/en/function.include.php ...says... The include construct will emit a warning if it cannot find a file; this is different behavior from require, which will emit a fatal error. ...the links to "warning" & "fatal error" point to the current page, since the href's are blank in the HTML Source... ---\HTML--- <em>include</em> construct will emit a <a href="" class="link">warning</a> if it cannot find a file; this is different behavior from <span class="function"><a href="function.require.php" class="function">require</a></span>, which will emit a <a href="" class="link">fatal error</a>. </p> ---/HTML--- Expected result: ---------------- The "warning" link should go to a page about warnings. The "fatal error" link should go to a page about fatal errors. Actual result: -------------- The links to "warning" & "fatal error" point to the same page the links are on, the current page: http://php.net/manual/en/function.include.php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74897&edit=1

« previous php.doc.bugs (#17373) next »