Forum:Some MediaWiki help

How can I make something that displays like this: View Short List View All Activity And when the View Short List button is clicked, change View Short List View All Activity  to  ; When the View All Activity button is clicked, change View Short List View All Activity  to . If replied, then the following code will be added to a MediaWiki page &mdash; [/wiki/User:Sam_Wang S a m ] [/wiki/User_talk:Sam_Wang W a n g ] 08:50, March 11, 2012 (UTC)