r87585 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87584‎ | r87585 | r87586 >
Date:21:52, 6 May 2011
Author:tparscal
Status:ok
Tags:
Comment:
using wfScript() instead of hard-coding api.php, which also gets us the right path. This improves on r87575
Modified paths:
  • /trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php
@@ -75,7 +75,7 @@
7676
7777 $this->insertProperties( $revisionId, $wgUser, $token, $params );
7878
79 - $squidUpdate = new SquidUpdate( array( wfAppendQuery( 'api.php', array(
 79+ $squidUpdate = new SquidUpdate( array( wfAppendQuery( wfScript( 'api' ), array(
8080 'action' => 'query',
8181 'format' => 'json',
8282 'list' => 'articlefeedback',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87575Added squid updateer upon rating, which purges the API call made by the Artic...tparscal20:47, 6 May 2011

Status & tagging log