Re: https://manpages.debian.org/ - PARTIAL breakage

Michael Stapelberg <[email protected]>
Newsgroups gmane.linux.debian.devel.www,gmane.linux.debian.devel.documentation
Message-ID <CANnVG6k5Y463YyHe1qsKdJBKTz50HnH1On=8YHeQAkuYVPhzCA@mail.gmail.com>
It’s definitely not a bug to choose a section for the user, since we can’t
serve pages without choosing :).

What you’re trying to say is that section choice should happen after
language matching. This might work. I’ve filed
https://github.com/Debian/debiman/issues/63 for it.

On Sat, Feb 25, 2017 at 9:22 AM, Paul Wise <[email protected]> wrote:

> On Sat, Feb 25, 2017 at 4:15 PM, Michael Stapelberg wrote:
>
> > It doesn’t unconditionally prefer Spanish pages over English pages. What
> > you’re seeing is that it picks a section first (1 instead of 8, in this
> > case) and sticks to it. In section 1, the best match for an English
> request
> > is the Spanish page, because there is no English page.
> >
> > The rationale behind this logic is that it’s better to serve the manpage
> of
> > the correct section, even if the language doesn’t match. If the user
> > requested e.g. crontab(5), they won’t be happy with crontab(1) only
> because
> > there is a crontab(1) version in their preferred language.
>
> In this case the user hasn't selected a section, so it seems like a
> bug to choose a section for them.
>
> --
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise
>
>


-- 
Best regards,
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.