Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

On Wikipedia, is it possible to redirect a section of one article to another article? I occassionally need to move sections of Wikipedia articles to other articles, and re-target all links to that section, but I currently don't know of any way to do this (besides re-targeting every single link manually). The {{anchor|section name}} template can be used to redirect one section to another section within the same article, but I'm not sure if it's possible to redirect one article's section to another article's section using this template. Is there any Wikipedia template (or some other method) that can be used to redirect a section of one article to another article?

share|improve this question
    
It would also be necessary in case a section of an article was converted to a stand-alone article - every single link to the section would need to be re-targeted to the new article somehow. –  Anderson Green Mar 22 '13 at 18:31
    
Not sure if this is exactly what you want, but it might get you closer: en.wikipedia.org/wiki/Wikipedia:Transclusion –  Hyper Anthony Mar 22 '13 at 19:54
    
@HyperAnthony That might work. However, using transclusion makes it impossible to edit an article and a transcluded section at the same time, so it's not an ideal solution. –  Anderson Green Mar 23 '13 at 0:03

1 Answer 1

No, there is no way to do that.

The only way this could work is if the source article contained some JavaScript code that would detect this situation and would redirect to the target page. As far as I know, there is no such code on Wikipedia.

share|improve this answer
    
That's not the only way. The target page could contain onload javascript that checks the #xxx part of the location and sends you to the correct new page –  Sparr Mar 22 '13 at 19:22
    
@Sparr I think you're just confused about what I meant by “source” and “target” (you call them “target” and “correct new page”, respectively). –  svick Mar 22 '13 at 19:44
    
oh. What do you call the page the link is on, if not the source? –  Sparr Mar 22 '13 at 19:57
    
I disagree with the viewpoint that there is "no way to do that." It would certainly be possible to write a Wikipedia bot to automatically replace all instances of one link with another link, across the entire wiki. –  Anderson Green Mar 22 '13 at 22:15
2  
@AndersonGreen Your question was “Is there any Wikipedia template that can be used to redirect a section of one article to another article?” If using a bot is okay for you, you should have said that. –  svick Mar 22 '13 at 22:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.