r109984 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109983‎ | r109984 | r109985 >
Date:02:21, 25 January 2012
Author:aaron
Status:ok
Tags:
Comment:
r109227: Use dirname( __FILE__ ) in php-cloudfiles for code inclusion statements for sanity. Also, set up the extension version number.
Modified paths:
  • /trunk/extensions/SwiftCloudFiles/SwiftCloudFiles.php (modified) (history)
  • /trunk/extensions/SwiftCloudFiles/php-cloudfiles-1.7.10/cloudfiles.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SwiftCloudFiles/php-cloudfiles-1.7.10/cloudfiles.php
@@ -71,8 +71,8 @@
7272
7373 /**
7474 */
75 -require_once("cloudfiles_exceptions.php");
76 -require("cloudfiles_http.php");
 75+require_once(dirname( __FILE__ ) . "/cloudfiles_exceptions.php");
 76+require_once(dirname( __FILE__ ) . "/cloudfiles_http.php");
7777 define("DEFAULT_CF_API_VERSION", 1);
7878 define("MAX_CONTAINER_NAME_LEN", 256);
7979 define("MAX_OBJECT_NAME_LEN", 1024);
Index: trunk/extensions/SwiftCloudFiles/SwiftCloudFiles.php
@@ -3,7 +3,7 @@
44 $wgExtensionCredits['other'][] = array(
55 'path' => __FILE__,
66 'name' => 'SwiftCloudFiles',
7 - 'version' => '1.7.10', // from php-cloudfiles
 7+ 'version' => '1.7.10-wmf', // from php-cloudfiles
88 'author' => 'Aaron Schulz',
99 'descriptionmsg' => 'swiftcloudfiles-desc',
1010 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109227Added php-cloudfiles (verbatim) with a thin MediaWiki extension wrapper aroun...aaron22:00, 17 January 2012

Status & tagging log