Index: branches/REL1_16/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: branches/REL1_16/extensions/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 ''; |
Property changes on: branches/REL1_16/extensions/LiquidThreads |
___________________________________________________________________ |
Modified: svn:mergeinfo |
772 | 776 | Merged /trunk/extensions/LiquidThreads:r75259 |
Index: branches/REL1_16/extensions/FlaggedRevs/api/ApiReview.php |
— | — | @@ -172,8 +172,12 @@ |
173 | 173 | array( 'code' => 'syncfailure', 'info' => 'A sync failure has occured while reviewing. Please try again.' ), |
174 | 174 | ) ); |
175 | 175 | } |
176 | | - |
177 | | - public function getTokenSalt() { |
| 176 | + |
| 177 | + public function needsToken() { |
| 178 | + return true; |
| 179 | + } |
| 180 | + |
| 181 | + public function getTokenSalt() { |
178 | 182 | return ''; |
179 | 183 | } |
180 | 184 | |
Index: branches/REL1_16/extensions/FlaggedRevs/api/ApiStabilize.php |
— | — | @@ -237,7 +237,11 @@ |
238 | 238 | array( 'code' => 'invalidconfig', 'info' => 'Invalid config parameters given. The precendence level may beyond your rights.' ), |
239 | 239 | ) ); |
240 | 240 | } |
241 | | - |
| 241 | + |
| 242 | + public function needsToken() { |
| 243 | + return true; |
| 244 | + } |
| 245 | + |
242 | 246 | public function getTokenSalt() { |
243 | 247 | return ''; |
244 | 248 | } |
Property changes on: branches/REL1_16/extensions/FlaggedRevs/api |
___________________________________________________________________ |
Modified: svn:mergeinfo |
245 | 249 | Merged /trunk/extensions/FlaggedRevs/api:r75259 |
Property changes on: branches/REL1_16/extensions |
___________________________________________________________________ |
Added: svn:mergeinfo |
246 | 250 | Merged /trunk/extensions:r75259 |