r78804 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78803‎ | r78804 | r78805 >
Date:16:19, 22 December 2010
Author:catrope
Status:ok
Tags:
Comment:
Mark LinkSearch as uncacheable and fix its headers display. Followup r78786
Modified paths:
  • /trunk/phase3/includes/specials/SpecialLinkSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialLinkSearch.php
@@ -38,8 +38,14 @@
3939 parent::__construct( $name );
4040 }
4141
 42+ function isCacheable() {
 43+ return false;
 44+ }
 45+
4246 function execute( $par ) {
4347 global $wgOut, $wgRequest, $wgUrlProtocols, $wgMiserMode, $wgLang, $wgScript;
 48+ $this->setHeaders();
 49+
4450 $target = $wgRequest->getVal( 'target', $par );
4551 $namespace = $wgRequest->getIntorNull( 'namespace', null );
4652

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78786Merge querypage-work2 branch from trunk. The most relevant changes are:...catrope14:16, 22 December 2010

Status & tagging log