From 153493e7f94dc076af05b67a06bea7fe26ce2e13 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 7 Feb 2013 10:04:41 -0800 Subject: [PATCH] [ExternalStore] Small documentation tweaks. Change-Id: I8c94dc3b1c69239c67d7ea9382e45b7f2aacd694 --- includes/externalstore/ExternalStoreMedium.php | 4 +++- includes/externalstore/ExternalStoreMwstore.php | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/includes/externalstore/ExternalStoreMedium.php b/includes/externalstore/ExternalStoreMedium.php index 6794dd5050..99d5fc3ca2 100644 --- a/includes/externalstore/ExternalStoreMedium.php +++ b/includes/externalstore/ExternalStoreMedium.php @@ -23,8 +23,10 @@ */ /** - * Accessable external objects + * Accessable external objects in a particular storage medium + * * @ingroup ExternalStorage + * @since 1.21 */ abstract class ExternalStoreMedium { /** @var Array */ diff --git a/includes/externalstore/ExternalStoreMwstore.php b/includes/externalstore/ExternalStoreMwstore.php index 35b3494cfb..b19293bbe9 100644 --- a/includes/externalstore/ExternalStoreMwstore.php +++ b/includes/externalstore/ExternalStoreMwstore.php @@ -28,6 +28,7 @@ * and fully qualified with a global "wikiId" prefix in the configuration. * * @ingroup ExternalStorage + * @since 1.21 */ class ExternalStoreMwstore extends ExternalStoreMedium { /** @@ -55,7 +56,7 @@ class ExternalStoreMwstore extends ExternalStoreMedium { $rand = wfBaseConvert( mt_rand( 0, 46655 ), 10, 36, 3 ); // Make sure ID is roughly lexicographically increasing for performance $id = str_pad( UIDGenerator::getTimestampedID128( 32 ), 26, '0', STR_PAD_LEFT ); - // Segregate items by wiki ID for the sake of book keeping + // Segregate items by wiki ID for the sake of bookkeeping $wiki = isset( $this->params['wiki'] ) ? $this->params['wiki'] : wfWikiID(); $url = $be->getContainerStoragePath( 'data' ) . '/' . -- 2.20.1