From: Aaron Schulz Date: Thu, 7 Feb 2013 18:04:41 +0000 (-0800) Subject: [ExternalStore] Small documentation tweaks. X-Git-Tag: 1.31.0-rc.0~20768^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=153493e7f94dc076af05b67a06bea7fe26ce2e13;p=lhc%2Fweb%2Fwiklou.git [ExternalStore] Small documentation tweaks. Change-Id: I8c94dc3b1c69239c67d7ea9382e45b7f2aacd694 --- 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' ) . '/' .