Page MenuHomePhabricator

Support setting a #REDIRECT with a transcluded string instead of a page name
Open, LowPublicFeature

Description

Author: silsor

Description:
An example of something I wanted to do:

#REDIRECT [[Wikipedia:Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}},
{{CURRENTYEAR}}]]

This displays as if &redirect=no were included in the URL. No redirection happens.

Bug #927 sounds similar to this by the title but by the description it seems to be a
different bug.


Version: 1.4.x
Severity: minor

Details

Reference
bz1575
ReferenceSource BranchDest BranchAuthorTitle
repos/releng/train-dev!43main-I5b3460e2ef9b987f21a67aee9276adfea500533amaindancyRemove --staging flag from call to scap wikiversions-compile
repos/releng/scap!212master-I131de6cc1b9f732354e4de48fb60b79dc8438a7emasterdancyscap wikiversions-inuse and wikiversions-compile: Always use the staging directory
Customize query in GitLab

Event Timeline

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

A redirect must specify an actual title.

rowan.collins wrote:

*** Bug 1685 has been marked as a duplicate of this bug. ***

gangleri wrote:

http://jadesukka.homelinux.org:8180/betawiki/Today%27s_featured_article

provides a workaround for the the original request using
{{Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}}}

Note: It is *safer* to use inclusions from the *template* namespace. The
original request asked for an inclusion of a page from the *project* namespace
where several restrictions would apply.

Regards Reinhardt [[user:gangleri]]

gangleri wrote:

in response to comment 0

A redirect must specify an *actual title*.

The original templates include variables. The examples below do *not*.

http://test.leuksman.com/index.php?title=Template:R1link&action=edit
[[Main Page]]
http://test.leuksman.com/index.php?title=Template:R1&action=edit
Main Page

http://test.leuksman.com/index.php?title=R1link&action=edit
#REDIRECT {{R1link}}
http://test.leuksman.com/index.php?title=R1&action=edit
#REDIRECT [[{{R1}}]]
None of the last would generate a redirect.

These redirects are quite theoretical but to some extend they are unchanged
*actual title* as a distinction from the templates in comment 0 where variables
are used.

Anyhow changes in both cases would be triggered at another / other objects then
the redirect page itself and "adjusting link tables" would have a similar level
of complexity which could grow if nested templates would be used.

Despite the fact that the requirement is quit intuitive it would be probably
best to leave this request as "WONTFIX".

Best regards Reinhardt [[user:gangleri]]

gangleri wrote:

*** Bug 4763 has been marked as a duplicate of this bug. ***

gangleri wrote:

*** Bug 4882 has been marked as a duplicate of this bug. ***

  • Bug 6196 has been marked as a duplicate of this bug. ***
  • Bug 7727 has been marked as a duplicate of this bug. ***

forums wrote:

Is there any news about that bug ? (sorry for having created one other ...)

ayg wrote:

The official word since February 21, 2005 is that it's not going to be changed,
and indicated by CLOSED WONTFIX. Argue with Brion about it on IRC if you want,
but he's the lead developer and what he's said stays out of the code stays out
of the code until he says otherwise.

forums wrote:

Do we know why it's marked as CLOSED WONTFIX ?
Looked from Brion on IRC, not there ... :(

rainman wrote:

(In reply to comment #11)

Please look at Brion's comments on earlier duplicate bugs (e.g. Bug 4763 and Bug
4882)

  • Bug 17183 has been marked as a duplicate of this bug. ***
  • Bug 40289 has been marked as a duplicate of this bug. ***
  • Bug 61791 has been marked as a duplicate of this bug. ***
  • Bug 61791 has been marked as a duplicate of this bug. ***
MGChecker reopened this task as Open.EditedMay 7 2015, 4:06 PM
MGChecker subscribed.

I think reopening this task were really good, because some time has left since this more than 10 years old request was declined. What was the reason that it was rejected and is it possible now?

MGChecker raised the priority of this task from Lowest to Medium.May 7 2015, 4:08 PM
MGChecker set Security to None.
MGChecker raised the priority of this task from Medium to Needs Triage.Jun 23 2015, 8:50 PM
Aklapper renamed this task from #REDIRECT with transcluded string does not redirect to Support setting a #REDIRECT with a transcluded string instead of a page name.Feb 5 2022, 6:17 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".
Aklapper removed a subscriber: wikibugs-l-list.