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
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.
-
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?– JinSnowFeb 14, 2018 at 10:43
-
5
-
@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.– huyzJul 18, 2022 at 6:12
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
-
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? 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.– DestyJun 1, 2022 at 23:52
A wikipedia page is along the time contributed to. It is often good to keep and to share a link to some specific revision.
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".)
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.