with the hook in Parser::clearState() makes sure the state of the Object is
kept in sync with the state of the parser, i.e. works correctly for dumpHTML
* give <ref> and <references> a css class, reference and references, respectively
* Code cleanup
* Lots of documentation, every function fully documented + code comments
* Split link() into linkRef() and linkReferences()
* Split key() into refKey() and referencesKey()
* link to title=Special:Cite&page=foo&id=bar in the sidebar rather than Special:Cite/Foo
* Don't gray out the cite link on revision browsing, allows for citing an old revision
* Follow redirects
* Inserting things into the message cache based on the user language is probably going to cause problems
* Use new hook registering syntax
* Only display the cite link in the sidebar in the main namespace
* Page => Article since it's only being shown in the main namespace