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)


 * Can you break the above up into separate lines? It is really hard to read, hence hard to figure out what you want. -- Fandyllic (talk &middot; contr) 13 Mar 2012 2:37 PM Pacific
 * I've changed my mind now. Is it possible to make it display    with something that looks like a link at the bottom displaying "View all activity" that when clicked change    to  <activityfeed shortlist="false" /> </tt>, and change the "View all activity" to "View less" that when clicked return to  <activityfeed shortlist="true" /> </tt> &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/User_talk:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 04:54, March 14, 2012 (UTC)
 * Does anyone have an idea? &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/User_talk:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 09:57, March 14, 2012 (UTC)

You could put this on the page: <activityfeed shortlist="true"/> View all activity <activityfeed shortlist="false"/> View short list and then have this as script (on your /wikia.js page): $(function {	$('#activity-all').toggle;	$('[id|="activity"] span.button').click(function { $('[id|="activity"]').toggle; }) }) That should do it. If it doesn't, you can always message me on my message wall for more help. 20:30, March 15, 2012 (UTC)
 * Wait...It doesn't display "View all activity" and "View less" &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/User_talk:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 10:20, March 16, 2012 (UTC)
 * Okay, fixed it. 11:16, March 16, 2012 (UTC)
 * The problem now is that it displays the shorlist and fulllist together &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/User_talk:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 11:44, March 16, 2012 (UTC)