cleanup action=tokens
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 14 Feb 2013 19:33:21 +0000 (20:33 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 14 Feb 2013 19:33:21 +0000 (20:33 +0100)
commitc9fa62d917f16f512ea027be8c72bb79b275d820
tree766e91a3b0123091003abd0b463e7e6861c93a0d
parent3283a2dd0aefe585d0f783db380b538f13b30279
cleanup action=tokens

* profile of execute function is done by the caller
* $type is always lower case, because param validation would reject all
other values
* use array syntax for callbacks
* use all token types in the result properties description

Change-Id: I7ed1d339df3f94305fbedb0052bb778efba59b7c
includes/api/ApiTokens.php