Thread:Mathmagician/@comment-93604-20120509230753/@comment-4674838-20120513174327

Ah, yes, a "view source" button would be excellent. There's actually quite a few times when I've wanted to see source code for other people's comments or message wall posts, and so far as I know you can't normally do that unless you're an admin. Also, it doesn't sound too difficult to do..

I haven't written a cookie before, so this does sound like fun, but on the other hand it also means I have pretty much no clue what you're talking about. I think the only thing I know about cookies at this point is:
 * 1) They store data so that it can be re-used when you visit a webpage at a later point in time, or so that the data can potentially be used when you visit a different webpage on the same site.
 * 2) There's session cookies, which are stored in the browser and their data is lost when you close the browser.
 * 3) Another kind which are stored on your computer and are more long-lasting, but have an expiration date.
 * 4) How to delete all my cookies when wiping my browsing history.

I agree that storing those things you mentioned would be important, and that these things can go in cookie(s). Storing the states of plonked users, collapsed posts and threads sounds simple enough -- simply track that whenever the "toggle" method is run. For the timestamp, we just make a copy of this variable:

var wgNow = new Date;

Edit: The next thing I'm working on right now is expanding the interface to support Message Wall.