Your message dated Sun, 14 Jun 2015 13:08:11 +0900 with message-id <20150614040811.GA16093@goofy.local> and subject line Re: Bug#659070: bad internal links on www.debian.org for developers-reference has caused the Debian Bug report #659070, regarding www.debian.org: internal links point to English pages in <http://www.debian.org/doc/manuals/developers-reference/index.fr.html> to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 659070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659070 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: www.debian.org: internal links point to English pages in <http://www.debian.org/doc/manuals/developers-reference/index.fr.html>
- From: Luca Capello <luca@pca.it>
- Date: Wed, 08 Feb 2012 02:09:31 +0100
- Message-id: <8762fi5dx0.fsf@gismo.pca.it>
Package: www.debian.org Severity: normal Usertags: pca.it-l10n Hi there! The internal links on the French version of the developers-reference point to the English pages or, better, to the pages without the language definition. I looked on the BTS if a similar bug was already reported, but the closest one I found is #406228, which however I am not sure it is related. Please note that this is a clear bug in the WWW pages, given that the links are OK in the developers-reference-fr package because there is no language involved there ;-) Thx, bye, Gismo / Luca -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dashAttachment: pgpW_U8Lxt5it.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: Charles Plessy <plessy@debian.org>
- Cc: 659070-done@bugs.debian.org
- Subject: Re: Bug#659070: bad internal links on www.debian.org for developers-reference
- From: Osamu Aoki <osamu@debian.org>
- Date: Sun, 14 Jun 2015 13:08:11 +0900
- Message-id: <20150614040811.GA16093@goofy.local>
- In-reply-to: <[🔎] 20150613105638.GE15412@falafel.plessy.net>
- References: <[🔎] 20150612131940.GA9993@goofy.local> <[🔎] 20150613105638.GE15412@falafel.plessy.net>
Hi, Tested locally by changing common.sh to use: webtopdir=`pwd`/srv/www.debian.org And commited. If anything nasty happens, please do not hesitate to revert. On Sat, Jun 13, 2015 at 07:56:38PM +0900, Charles Plessy wrote: > no problem, it would take as much time for me to remember how the script works > than to learn it again from scratch. At least cleaner and regular :-) > Have a nice week-end, Yes. Hot and humid though ... pagecopy() { # convert all internal href URLs from *.html to *.$lang.html lang=$1 infile=$2 outfile=$3 sed -e "s/\(href=\"[^\/:\"= ]*\)\.html/\1.$lang.html/g" <$infile >$outfile } This function is used to fix internal reference renaming. Now not only developers-reference but some other new files are free of this bug. https://www.debian.org/doc/manuals/apt-guide https://www.debian.org/doc/manuals/apt-offline https://www.debian.org/doc/manuals/aptitude These are new with content negotiation. If these are good, I will add them to https://www.debian.org/doc/user-manuals ADD mode does this. https://www.debian.org/doc/index.en.html update is later ... Osamu Aoki Aobadai, Yokohama, Kanagawa, Japan
--- End Message ---