Page MenuHomePhabricator

#redirect [[lemma#sublemma]] does not work
Closed, ResolvedPublic


Author: kleine_matthias

When using redirects of the form

#redirect [[lemma#sublemma]]

you will not be redirected to the sublemma, but only to the top of the lemma page.

Version: unspecified
Severity: enhancement


TitleReferenceAuthorSource BranchDest Branch
search: Change articletopic source to the outlink modelrepos/data-engineering/airflow-dags!448ebernhardsonwork/ebernhardson/outlinkmain
ores: Adjust ingestion for changing articletopic ingestion to outlink modelrepos/search-platform/discolytics!28ebernhardsonwork/ebernhardson/outlinkmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:09 PM
bzimport set Reference to bz1282.
bzimport added a subscriber: Unknown Object (MLST).

rowan.collins wrote:

This is not so much a bug, as a feature which has not been written yet - a
redirect allows one page to redirect to another, with an appropriate notice
leading you back. One good reason no-one has extended this to redirect to *part
of* a page is that it's not clear where the "Redirected from ..." notice would
go in such a case. Other concerns include the changeability of section names (if
you alter the heading, however subtly, all links to it break) and the fact that
sections, by definition, aren't structured articles, so the reader might be
presented with a screen of text which doesn't really make sense on its own (or
without scrolling back up to the top of the article anyway).

There's probably a duplicate bug report about this somewhere, but I'm too tired
to hunt it out.

There has also been discussion of the ability to add a message to be displayed
when the redirect is followed (e.g. in this case you could say "Sublemmas are
dealt with in the section entitled sublemma"). But I can't find a
bug here discussing that, either.

rowan.collins wrote:

Just for reference, I found a RFE on the old sourceforge tracker:
See also
for a feature that isn't entirely related, but might be extendable to add a
special message pointing to a sub-section.

rowan.collins wrote:

Ah; somebody's pointed out an older, WONTFIXed, report talking about this, so
I'm going to mark this as a dupe.

*** This bug has been marked as a duplicate of 218 ***