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 <p...@debian.org> 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

Reply via email to