r79986 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79985‎ | r79986 | r79987 >
Date:01:23, 11 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Fixup double slash in LQT api module inclusion, that was then shown in the &version in the api help output

Version:
ApiFeedLQTThreads: $Id: ApiFeedWatchlist.php 53782 2009-07-26 17:04:22Z simetrical $
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LiquidThreads//api/ApiFeedWatchlist.php
Modified paths:
  • /trunk/extensions/LiquidThreads/LiquidThreads.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/LiquidThreads.php
@@ -249,11 +249,11 @@
250250 $wgDefaultUserOptions['lqtcustomsignatures'] = true;
251251
252252 // API
253 -$wgAutoloadClasses['ApiQueryLQTThreads'] = "$dir/api/ApiQueryLQTThreads.php";
 253+$wgAutoloadClasses['ApiQueryLQTThreads'] = $dir . 'api/ApiQueryLQTThreads.php';
254254 $wgAPIListModules['threads'] = 'ApiQueryLQTThreads';
255 -$wgAutoloadClasses['ApiFeedLQTThreads'] = "$dir/api/ApiFeedLQTThreads.php";
 255+$wgAutoloadClasses['ApiFeedLQTThreads'] = $dir . 'api/ApiFeedLQTThreads.php';
256256 $wgAPIModules['feedthreads'] = 'ApiFeedLQTThreads';
257 -$wgAutoloadClasses['ApiThreadAction'] = "$dir/api/ApiThreadAction.php";
 257+$wgAutoloadClasses['ApiThreadAction'] = $dir . '/api/ApiThreadAction.php';
258258 $wgAPIModules['threadaction'] = 'ApiThreadAction';
259259
260260 // Path to the LQT directory

Follow-up revisions

RevisionCommit summaryAuthorDate
r79987Followup r79986, normalise a few more pathsreedy01:26, 11 January 2011

Status & tagging log