[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#690750: Broken links in developers-reference as published on the Debian's website



Hello
Could this be caused by the code of mvhtml() function in cron/parts/7doc
script?

https://salsa.debian.org/webmaster-team/cron/blob/master/parts/7doc

Maybe it works well for links *.html and *.XX.html being XX the language
processing in that time, but maybe it's not prepared for *.YY.html files
being YY a different language than the one being processed each time.

I've had a look at the code but I cannot understand it well, sorry.

Kind regards

El 03/11/18 a las 22:07, Lev Lamberov escribió:
> Hi Holger,
> 
> thanks for your attention to the bug report, but my report was about a
> different issue. Let me explain.
> 
> First, let's take a look at developers-reference as it pubished on the
> Debian's website. Say, in English [web-en]. It incorrectly links to
> translations as index.{fr,de,it,ru,jp}.en.html, such files do not exist.
> Any other translation, say, French [web-fr] links to translations as
> index.{de,it,ru,jp}.fr.html, such files do not exist.
> 
> [web-en] https://www.debian.org/doc/manuals/developers-reference/index.en.html
> 
> [web-fr] https://www.debian.org/doc/manuals/developers-reference/index.fr.html
> 
> Second, let's take a look at developers-reference package. All links
> there are correct, that is in _any_ language links point to
> index.{fr,de,it,ru,jp}.html.
> 
> Third, let's take a look at developers-reference source code. In English
> we currently have as follows:
> 
> <para>
> If you want to print this reference, you should use the <ulink
> url="developers-reference.pdf">pdf version</ulink>.  This page is also
> available in <ulink url="index.fr.html">French</ulink>, <ulink
> url="index.de.html">German</ulink>, <ulink
> url="index.it.html">Italian</ulink>, <ulink
> url="index.ru.html">Russian</ulink>, and <ulink
> url="index.ja.html">Japanese</ulink>.
> <!-- TODO: Maybe better: "This document has originally been written
> in English.  Translations into different languages are available." -->
> </para>
> 
> Again, links are correct and point to index.{fr,de,it,ru,jp}.html. And
> the same holds for any translation.
> 
> Broken links are only in developers-reference published on the Debian's
> website. Since links in the source code and in the developers-reference
> package are correct, then it is the content negotiation problem. Looks
> like the webserver incorrectly rewrites links.
> 
> Let me stress that my report is _not_ about links to English, or links
> in English. It is about _broken_ links in _any_ developers-reference as
> published on the Debian's website. So, my bug report is about
> www.debian.org, not developers-reference. Please, reconsider it and
> reassign #912724 to www.debian.org.
> 
> Regards,
> Lev
> 

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona


Reply to: