http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65371

Revision: 65371
Author:   tstarling
Date:     2010-04-21 10:41:25 +0000 (Wed, 21 Apr 2010)

Log Message:
-----------
(bug 23117) Fix totally broken action=rollback, by doing a temporary hack along 
the lines of r64868. Tested.

Modified Paths:
--------------
    branches/REL1_16/phase3/RELEASE-NOTES
    branches/REL1_16/phase3/includes/api/ApiRollback.php

Modified: branches/REL1_16/phase3/RELEASE-NOTES
===================================================================
--- branches/REL1_16/phase3/RELEASE-NOTES       2010-04-21 10:15:12 UTC (rev 
65370)
+++ branches/REL1_16/phase3/RELEASE-NOTES       2010-04-21 10:41:25 UTC (rev 
65371)
@@ -46,6 +46,7 @@
   invalid usernames.
 * Fixed sorting in [[Special:Allmessages]]
 * (bug 23113) Fixed title in the show/hide links on diff pages
+* (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
 
 === Changes since 1.16 beta 1 ===
 

Modified: branches/REL1_16/phase3/includes/api/ApiRollback.php
===================================================================
--- branches/REL1_16/phase3/includes/api/ApiRollback.php        2010-04-21 
10:15:12 UTC (rev 65370)
+++ branches/REL1_16/phase3/includes/api/ApiRollback.php        2010-04-21 
10:41:25 UTC (rev 65371)
@@ -121,10 +121,6 @@
                        array( 'invaliduser', 'user' ),
                ) );
        }
-       
-       public function getTokenSalt() {
-               return '';
-       }
 
        protected function getExamples() {
                return array (



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to