Thread:Project:Support desk/How to add "Go-Back" button in Mediawiki sub-pages/reply (3)

Using JavaScript to browse back in the history is not a good idea. Its wrong for so many reasons.

I believe Mohan is looking for a way to display "back" links when showing a sub page. That includes situations in which you were linked there from another page. So the browser history is not relevant in that case.

The solution is simple, MediaWiki generates these automatically. All you have to do is add the namespace in which you want this to happen, to your configuration of.