(bug 27021) Session key was changed somewhere from an int to a string, which broke...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 29 Jan 2011 21:42:03 +0000 (21:42 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 29 Jan 2011 21:42:03 +0000 (21:42 +0000)
commit2b0fe5866b62988f34667c08ef53dbbe3ed51a38
tree8f023c082028eb8956235a06d50edbe2c54f6d44
parenta75a8519d24535c09466e6bef24e6d41fd48a182
(bug 27021) Session key was changed somewhere from an int to a string, which broke stashed uploads totally. Changed $wgRequest->getInt to $wgRequest->getText. The API never explicitly defined it as int, so should not be affected.
Note that this also may break API clients in certain cases for strongly, statically typed languages (e.g. int sessionKey = request->sessionKey;). I see no way around this, so I will announce a breaking change on the API mailing list shortly.
includes/upload/UploadFromStash.php