r62565 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r62564
|
r62565
|
r62566
>
Date:
01:27, 16 February 2010
Author:
reedy
Status:
ok
Tags:
Comment:
Followup to
r62557
Add array( 'sessionfailure' ) to getPossibleErrors for token using modules (missed adding when removing from individual modules!)
Modified paths:
/trunk/phase3/includes/api/ApiBase.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiBase.php
—
—
@@ -999,6 +999,7 @@
1000
1000
1001
1001
if ( $this->getTokenSalt() != false ) {
1002
1002
$ret[] = array( 'missingparam', 'token' );
1003
+ $ret[] = array( 'sessionfailure' );
1003
1004
}
1004
1005
1005
1006
return $ret;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r62557
Refactor requiresToken to getTokenSalt - Returns salt if exists, null if no s...
reedy
23:53, 15 February 2010
Status & tagging log
15:58, 16 February 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r62565
[
removed:
new
added:
ok]