We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d63bf commit 883afa7Copy full SHA for 883afa7
RELEASENOTES.md
@@ -2,6 +2,10 @@ These are the release notes for the [mediawiki-api-base](README.md).
2
3
## Version 0.2 (under development)
4
5
+## Version 0.1.2 (25 May 2014)
6
+
7
+* Fix issue where API tokens were not returned
8
9
## Version 0.1 (12 May 2014)
10
11
* Initial release after split from mediawiki-api lib
src/MediawikiApi.php
@@ -142,7 +142,7 @@ public function logout() {
142
* @return string
143
*/
144
public function getToken( $type = 'edit' ) {
145
- $this->session->getToken( $type );
+ return $this->session->getToken( $type );
146
}
147
148
/**
0 commit comments