Bug#925068: doxygen: search.php uses <script language="php"> which is not supported by php7.0
Package: doxygen
Version: 1.8.13-4+b1
Severity: important
Dear Maintainer,
The generated documentation comes with a PHP based search system. The
search.php page has:
<script language="php">
require_once "search_functions.php";
main();
</script>
However PHP 7.0 has removed support for <script language="php">:
https://php.net/manual/en/language.basic-syntax.phptags.php
Changelog
7.0.0 | The ASP tags <%, %>, <%=, and the script tag <script
| language="php"> are removed from PHP.
As a result, the Doxygen generated documentation lacks a working search
engine.
PHP 7.0 support has been added upstream via 22b6783 and has been
released with Doxygen 1.8.15:
https://github.com/doxygen/doxygen/commit/22b67836d678cea695b977ec648c0aa013339c55
https://github.com/doxygen/doxygen/pull/680
Since Debian Stretch comes with PHP 7.0, I guess that upstream fix has
to be backported to restore the search functionality.
Example:
https://doc.wikimedia.org/mediawiki-core/master/php/search.php?query=ObjectCache
Downstream bug: https://phabricator.wikimedia.org/T218233
-- System Information:
Debian Release: 9.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages doxygen depends on:
ii libc6 2.24-11+deb9u4
ii libclang1-3.9 1:3.9.1-9
ii libgcc1 1:6.3.0-18+deb9u1
ii libstdc++6 6.3.0-18+deb9u1
ii libxapian30 1.4.3-2+deb9u3
ii zlib1g 1:1.2.8.dfsg-5
doxygen recommends no packages.
Versions of packages doxygen suggests:
pn doxygen-doc <none>
pn doxygen-gui <none>
pn doxygen-latex <none>
ii graphviz 2.38.0-17
-- no debconf information
Reply to: