Index: trunk/extensions/MultilingualLiquidThreads/LiquidThreads/api/ApiThreadAction.php |
— | — | @@ -765,6 +765,10 @@ |
766 | 766 | return array( |
767 | 767 | ); |
768 | 768 | } |
| 769 | + |
| 770 | + public function needsToken() { |
| 771 | + return true; |
| 772 | + } |
769 | 773 | |
770 | 774 | public function getTokenSalt() { |
771 | 775 | return ''; |
Index: trunk/extensions/WikiAtHome/ApiWikiAtHome.php |
— | — | @@ -301,6 +301,10 @@ |
302 | 302 | 'Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data)' |
303 | 303 | ); |
304 | 304 | } |
| 305 | + |
| 306 | + public function needsToken() { |
| 307 | + return true; |
| 308 | + } |
305 | 309 | |
306 | 310 | public function getTokenSalt() { |
307 | 311 | return ''; |
Index: trunk/extensions/Reflect/server/api/ApiReflectAction.php |
— | — | @@ -542,6 +542,10 @@ |
543 | 543 | return array(); |
544 | 544 | } |
545 | 545 | |
| 546 | + public function needsToken() { |
| 547 | + return true; |
| 548 | + } |
| 549 | + |
546 | 550 | public function getTokenSalt() { |
547 | 551 | return ''; |
548 | 552 | } |
Index: trunk/extensions/Reflect/server/api/ApiReflectStudyAction.php |
— | — | @@ -181,6 +181,10 @@ |
182 | 182 | return array(); |
183 | 183 | } |
184 | 184 | |
| 185 | + public function needsToken() { |
| 186 | + return true; |
| 187 | + } |
| 188 | + |
185 | 189 | public function getTokenSalt() { |
186 | 190 | return ''; |
187 | 191 | } |
Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php |
— | — | @@ -883,6 +883,10 @@ |
884 | 884 | return array( |
885 | 885 | ); |
886 | 886 | } |
| 887 | + |
| 888 | + public function needsToken() { |
| 889 | + return true; |
| 890 | + } |
887 | 891 | |
888 | 892 | public function getTokenSalt() { |
889 | 893 | return ''; |
Index: trunk/extensions/FlaggedRevs/api/ApiReview.php |
— | — | @@ -196,8 +196,12 @@ |
197 | 197 | array( 'code' => 'syncfailure', 'info' => 'A sync failure has occured while reviewing. Please try again.' ), |
198 | 198 | ) ); |
199 | 199 | } |
200 | | - |
201 | | - public function getTokenSalt() { |
| 200 | + |
| 201 | + public function needsToken() { |
| 202 | + return true; |
| 203 | + } |
| 204 | + |
| 205 | + public function getTokenSalt() { |
202 | 206 | return ''; |
203 | 207 | } |
204 | 208 | |
Index: trunk/extensions/FlaggedRevs/api/ApiStabilize.php |
— | — | @@ -58,6 +58,10 @@ |
59 | 59 | return true; |
60 | 60 | } |
61 | 61 | |
| 62 | + public function needsToken() { |
| 63 | + return true; |
| 64 | + } |
| 65 | + |
62 | 66 | public function getTokenSalt() { |
63 | 67 | return ''; |
64 | 68 | } |