Merge in Token class from my branch; would like some second opinions on the concept...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 18 Dec 2010 23:07:30 +0000 (23:07 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 18 Dec 2010 23:07:30 +0000 (23:07 +0000)
commite0bec9555ee4dc2456946b8bee67151e34e45772
treee668277a0499944478a63a923fd50237b60cea7e
parent933f0cd24092d6f431659239ffbb21af2eda402e
Merge in Token class from my branch; would like some second opinions on the concept.  This seeks to replace the much-abused $wgUser->editToken() token generator, 90% of the uses of which are not for editing but rather general actions.

Implemented for rollback mainly as a proof-of-concept; obvious further targets are patrol links and HTMLForm.
includes/Article.php
includes/AutoLoader.php
includes/Linker.php
includes/Token.php [new file with mode: 0644]
includes/api/ApiQueryRevisions.php