Last modified: 2009-09-20 08:30:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10990 - redirect-only messages
redirect-only messages
Status: RESOLVED DUPLICATE of bug 2012
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: 11532 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-08-19 13:29 UTC by Danny
Modified: 2009-09-20 08:30 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Danny 2007-08-19 13:29:11 UTC
ParserFunctions should be amended such that some text can be made to appear only on redirected URLs.

Example: Suppose that A redirects to B. We should be able to put something likr {{#redirect:A|A redirects here}} on B, so that the text "A redirects here" will appear on B only if the user accesses A.
Comment 1 Rob Church 2007-08-19 16:42:56 UTC
This isn't possible at the moment; redirects are handled at a much higher level than page rendering, and the parser doesn't know what page was requested.

It's also inadvisable; redirects should be transparent to readers.
Comment 2 Brion Vibber 2007-08-20 13:31:33 UTC
The software already tells you you were redirected. People must be adding those messages for some other reason, then, such as finding the backlink to the other page when you *weren't* redirected.
Comment 3 Chad H. 2009-09-09 13:48:17 UTC
*** Bug 11532 has been marked as a duplicate of this bug. ***
Comment 4 Chad H. 2009-09-20 08:30:50 UTC

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

Note You need to log in before you can comment on or make changes to this bug.