12

I wish to link to a specific portion of a Wikipedia article. For example in this article about Mahatma Gandhi, I wish to create a link such that clicking on the link takes the user directly to the Struggle for Indian Independence section without showing the other details above. Is this possible?

4 Answers 4

8

Use the built in index in the Content box. If you click on Struggle for Indian Independence you'll get this URL https://en.wikipedia.org/wiki/Mahatma_Gandhi#Struggle_for_Indian_Independence_.281915.E2.80.9347.29 which will link directly to that portion. It won't hide the upper portion but it will scroll to the appropriate place.

3
  • There is the quickest way: mouse over the end of the header of the section and click on the paragraph icon which appears, then copy the URL it generate. The icon isn't showing anymore, for me any idea why?
    – JinSnow
    Feb 14, 2018 at 10:43
  • 5
    Is there a way to do this in the mobile version?
    – stonar96
    Jul 17, 2019 at 13:39
  • @stonar96 it seems the only way to do this on mobile is to avoid the app, use mobile browser but select “Request desktop site” and then click on part of the index. Dunno why it’s taking Wikipedia decades to make this easier on mobile.
    – huyz
    Jul 18, 2022 at 6:12
1

This is unquestionably the simplest answer to your question on Wiki page section links

1) Find your wikipedia page's URL. Let's use the page Cattle:

http://en.wikipedia.org/wiki/Cattle

2) Add #SubsectionTitle to the end of that link. Let's use the 'Behavior' section for today:

http://en.wikipedia.org/wiki/Cattle#Behavior

The End

2
  • Welcome to Web Applications! Can you explain 1) why it's simpler than the accepted answer (it seems to require more typing) 2) how it works when spaces and other characters are involved?
    – Glorfindel
    May 14, 2020 at 8:44
  • @Glorfindel 1) the accepted answer doesn't work on mobile (as far as I can I tell; even with "request desktop site"). 2) spaces are replaced by an underscore, possibly the same for others (unless they're url-encoded with percent codes), unfortunately I can't tell since I'm on a mobile device now.
    – Desty
    Jun 1, 2022 at 23:52
-1

A wikipedia page is along the time contributed to. It is often good to keep and to share a link to some specific revision.

https://en.wikipedia.org/w/index.php?title=Mahatma_Gandhi&diff=prev&oldid=644197118#Struggle_for_Indian_Independence_.281915.E2.80.9347.29

A link like this is not going away if people in the future make a change in the section title or re-order section structures.

(Above is the very edition introducing sentence: "At the request of Gokhale, conveyed to him by C.F. Andrews, Gandhi returned to India in 1915".)

-1

without showing the other details above

nope, but you can get pretty close using Scroll to Text Fragment. Using the article and section you mentioned as an example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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