r69521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69520‎ | r69521 | r69522 >
Date:21:21, 18 July 2010
Author:midom
Status:ok
Tags:
Comment:
One tiny missing character - one overloaded cluster! :-)
Modified paths:
  • /branches/wmf/1.16wmf4/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/includes/api/ApiMain.php
@@ -336,7 +336,7 @@
337337 }
338338
339339 // If this wiki is private, don't cache anything ever
340 - if ( in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) {
 340+ if ( ! in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) {
341341 $this->setCachePrivate();
342342 }
343343

Follow-up revisions

RevisionCommit summaryAuthorDate
r69536Reverse-merge r69521 from 1.16wmf4: fix OpenSearch cachingcatrope08:19, 19 July 2010
r70061Brought the API cache header handling into sync with the REL1_16 branch, by r...tstarling02:01, 28 July 2010

Status & tagging log