X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fgallery%2FImageGalleryBase.php;h=42e8c0300b9f0345fabcf4464add005e1aad4a85;hb=71fc56f11bdb1de5af9d7ac6abbed45b5b39aee7;hp=a34160189a0e4769fcc4c3d78ae0f015e73119c6;hpb=dd981eb7b5a22dc6c12a1adc5144d63ac0ee9dd1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index a34160189a..42e8c0300b 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -28,10 +28,10 @@ * @ingroup Media */ abstract class ImageGalleryBase extends ContextSource { - /** @var array Gallery images */ + /** @var array Gallery images */ protected $mImages; - /** @var bool Whether to show the filesize in bytes in categories */ + /** @var bool Whether to show the filesize in bytes in categories */ protected $mShowBytes; /** @var bool Whether to show the filename. Default: true */ @@ -69,7 +69,7 @@ abstract class ImageGalleryBase extends ContextSource { * Get a new image gallery. This is the method other callers * should use to get a gallery. * - * @param string|bool $mode Mode to use. False to use the default. + * @param string|bool $mode Mode to use. False to use the default * @throws MWException */ static function factory( $mode = false ) { @@ -130,7 +130,7 @@ abstract class ImageGalleryBase extends ContextSource { * @note This also triggers using the page's target * language instead of the user language. * - * @param $parser Parser + * @param Parser $parser */ function setParser( $parser ) { $this->mParser = $parser; @@ -200,7 +200,7 @@ abstract class ImageGalleryBase extends ContextSource { * to allow extensions to add additional parameters to * parser tag. * - * @param array $options Attributes of gallery tag. + * @param array $options Attributes of gallery tag */ public function setAdditionalOptions( $options ) { } @@ -242,7 +242,7 @@ abstract class ImageGalleryBase extends ContextSource { * @param string $html Additional HTML text to be shown. The name and size * of the image are always shown. * @param string $alt Alt text for the image - * @param string $link Override image link (optional) + * @param string $link Override image link (optional) * @param array $handlerOpts Array of options for image handler (aka page number) */ function insert( $title, $html = '', $alt = '', $link = '', $handlerOpts = array() ) { @@ -265,7 +265,7 @@ abstract class ImageGalleryBase extends ContextSource { * Enable/Disable showing of the file size of an image in the gallery. * Enabled by default. * - * @param bool $f Set to false to disable. + * @param bool $f Set to false to disable */ function setShowBytes( $f ) { $this->mShowBytes = (bool)$f; @@ -275,7 +275,7 @@ abstract class ImageGalleryBase extends ContextSource { * Enable/Disable showing of the filename of an image in the gallery. * Enabled by default. * - * @param bool $f Set to false to disable. + * @param bool $f Set to false to disable */ function setShowFilename( $f ) { $this->mShowFilename = (bool)$f;