r75373 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75372‎ | r75373 | r75374 >
Date:19:33, 25 October 2010
Author:reedy
Status:deferred
Tags:
Comment:
MFT 75259 where files exist
Modified paths:
  • /branches/REL1_16/extensions (modified) (history)
  • /branches/REL1_16/extensions/FlaggedRevs/api (modified) (history)
  • /branches/REL1_16/extensions/FlaggedRevs/api/ApiReview.php (modified) (history)
  • /branches/REL1_16/extensions/FlaggedRevs/api/ApiStabilize.php (modified) (history)
  • /branches/REL1_16/extensions/LiquidThreads (modified) (history)
  • /branches/REL1_16/extensions/LiquidThreads/api/ApiThreadAction.php (modified) (history)
  • /branches/REL1_16/extensions/WikiAtHome/ApiWikiAtHome.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/extensions/WikiAtHome/ApiWikiAtHome.php
@@ -301,6 +301,10 @@
302302 'Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data)'
303303 );
304304 }
 305+
 306+ public function needsToken() {
 307+ return true;
 308+ }
305309
306310 public function getTokenSalt() {
307311 return '';
Index: branches/REL1_16/extensions/LiquidThreads/api/ApiThreadAction.php
@@ -765,6 +765,10 @@
766766 return array(
767767 );
768768 }
 769+
 770+ public function needsToken() {
 771+ return true;
 772+ }
769773
770774 public function getTokenSalt() {
771775 return '';
Property changes on: branches/REL1_16/extensions/LiquidThreads
___________________________________________________________________
Modified: svn:mergeinfo
772776 Merged /trunk/extensions/LiquidThreads:r75259
Index: branches/REL1_16/extensions/FlaggedRevs/api/ApiReview.php
@@ -172,8 +172,12 @@
173173 array( 'code' => 'syncfailure', 'info' => 'A sync failure has occured while reviewing. Please try again.' ),
174174 ) );
175175 }
176 -
177 - public function getTokenSalt() {
 176+
 177+ public function needsToken() {
 178+ return true;
 179+ }
 180+
 181+ public function getTokenSalt() {
178182 return '';
179183 }
180184
Index: branches/REL1_16/extensions/FlaggedRevs/api/ApiStabilize.php
@@ -237,7 +237,11 @@
238238 array( 'code' => 'invalidconfig', 'info' => 'Invalid config parameters given. The precendence level may beyond your rights.' ),
239239 ) );
240240 }
241 -
 241+
 242+ public function needsToken() {
 243+ return true;
 244+ }
 245+
242246 public function getTokenSalt() {
243247 return '';
244248 }
Property changes on: branches/REL1_16/extensions/FlaggedRevs/api
___________________________________________________________________
Modified: svn:mergeinfo
245249 Merged /trunk/extensions/FlaggedRevs/api:r75259
Property changes on: branches/REL1_16/extensions
___________________________________________________________________
Added: svn:mergeinfo
246250 Merged /trunk/extensions:r75259

Status & tagging log