Page MenuHomePhabricator

Additional custom text in "(Redirected from $1)" text
Closed, ResolvedPublic

Description

Author: justforspam

Description:
See closed bug #7055 for previous discussion.

The idea is to improve the redirect sintax in order to allow the author to
insert a short mesage explaining *why* you have been redirected.

e.g. If "Freddy Mercury" redirects to "Queen (music)" a it could display a
message like "You have been redirected form [[Freddy Mercury]] who was Queens's
lead vocalist and frontman until his death"

Of course implementation details are up to the developers, but in order to state
things clearlier here is an pseudo-syntax that could be used:

#REDIRECT [[Queen]] You have been redirected form [[Freddy Mercury]] who was
Queens's lead vocalist and frontman until his death

But the text on the next line, or paragraph, (e.g. a [[:Category:Singer
redirects]]) won't be reported

Bye and Thanks, Lorenzo.


Version: unspecified
Severity: enhancement

Details

Reference
bz7091

Event Timeline

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

ayg wrote:

(In reply to comment #0)

Of course implementation details are up to the developers, but in order to state
things clearlier here is an pseudo-syntax that could be used:

#REDIRECT [[Queen]] You have been redirected form [[Freddy Mercury]] who was
Queens's lead vocalist and frontman until his death

To begin with, make any content clearly separated from the actual redirect
notice, so the syntax would have to be

#REDIRECT [[Queen (music)]] the Queens' lead vocalist and frontman until his death

It would be nice if we could just use that, really. It wouldn't cause *that*
much breakage, assuming categories and so on were stripped. The only real uses
for putting anything on redirect pages other than the redirect are 1) categories
and 2) reasons for the redirect; 1 will be ditched and 2 might not be all bad.

ayg wrote:

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