From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- includes/externalstore/ExternalStore.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'includes/externalstore/ExternalStore.php') diff --git a/includes/externalstore/ExternalStore.php b/includes/externalstore/ExternalStore.php index 462b0b90..688130e0 100644 --- a/includes/externalstore/ExternalStore.php +++ b/includes/externalstore/ExternalStore.php @@ -59,6 +59,7 @@ class ExternalStore { } $class = 'ExternalStore' . ucfirst( $proto ); + // Any custom modules should be added to $wgAutoLoadClasses for on-demand loading return class_exists( $class ) ? new $class( $params ) : false; } @@ -120,6 +121,7 @@ class ExternalStore { $retval[$url] = false; } } + return $retval; } @@ -129,7 +131,7 @@ class ExternalStore { * class itself as a parameter. * * @param string $url A partial external store URL ("://") - * @param $data string + * @param string $data * @param array $params Associative array of ExternalStoreMedium parameters * @return string|bool The URL of the stored data item, or false on error * @throws MWException @@ -176,7 +178,7 @@ class ExternalStore { * itself. It also fails-over to the next possible clusters * as provided in the first parameter. * - * @param array $tryStores refer to $wgDefaultExternalStore + * @param array $tryStores Refer to $wgDefaultExternalStore * @param string $data * @param array $params Associative array of ExternalStoreMedium parameters * @return string|bool The URL of the stored data item, or false on error @@ -216,8 +218,8 @@ class ExternalStore { } /** - * @param $data string - * @param $wiki string + * @param string $data + * @param string $wiki * @return string|bool The URL of the stored data item, or false on error * @throws MWException */ -- cgit v1.2.3-54-g00ecf